Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
Description
Hi,
I'm using logback to collect logs of application running on end user machines. The logs have a date in it's pattern. The problem I'm having is that timestamps from arabic machines are for example looks like ١٦:٤٧:٠٤.٠٣٢
While I can use Google translate to translate them to english it is still not the best way to do it. Looking at the sources and docs of logback I didn't found any way of supplying custom locale for date, and from source code it looks like that date formatter is instantiated using default constructor which implicitly uses current default locale (which happens to be arabic on arabic machines et cetera).
Please provide a way to choose locale for dates printed into logs explicitly.