Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top