Hi,
I have a web app which upon startup stores the server local timezone in a global static member and then sets the DefaultTimeZone of JVM to GMT.
During startup log4j is logging messages in server default timezone.
Now when i change my log level in log4j.properties the log level is changed dynamically and now the log4j logs messages in GMT time .
My requirement is to log messages always in server local time zone.
How can i achieve this in my scenario? any pointers will be really appreciated.
Thank you