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