Вопрос

I am working with a server in spanish and my Spring logged exceptions are translated to Spanish. That is a nice feature but I will prefer to have them in English because it makes easier to find answers in google (and Stackoverflow)

How can I change thouse messages? In my Log4J config file? in the context file?

Thanks

Это было полезно?

Решение

You can configure it via jvm args.

java -Duser.language=en -Duser.country=US

http://www.oracle.com/technetwork/articles/javase/locale-140624.html#using

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top