Pregunta

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

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top