[logback-dev] [JIRA] Created: (LBGENERAL-41) Provide a way for localtime date pattern

Andreas Sahlbach (JIRA) noreply-jira at qos.ch
Thu Apr 15 12:22:16 CEST 2010


Provide a way for localtime date pattern
----------------------------------------

                 Key: LBGENERAL-41
                 URL: http://jira.qos.ch/browse/LBGENERAL-41
             Project: logback-general
          Issue Type: New Feature
            Reporter: Andreas Sahlbach
            Assignee: Logback dev list


I am providing a client library for customers all over the world. The client library is using slf4j. It also comes with a preconfigured logback version that provides logging for the commandline interface of the library and as an example working logging solution for my client library. I am also providing an out-of-the-box working logback.xml configuration.

I now would like to have a possibility to log the current local time of the client in the log file. I currently can only specify no time zone that defaults back to GMT which will for sure raise lots of support calls to me, because lots of my clients don't even know what GMT is nor how to spell it...

But I also can't specify a specific time zone, because I am in Europe and some of my customers are in China, so that would be awkward for them, too.

So please provide a way for me to log the current localtime of the running program. (without dynamic log configuration via xml please). Using a special timezone value or something.

This would be great, thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list