Posted By:
Mohan_Namadhari
Posted On:
Wednesday, February 5, 2003 05:10 AM
I have developed a log system for my project. Its working fine in Windows as well as solaris except that log time / date that writes into log file. In windows, it writes the currect time where as in solaris, same code writes wrong time into log file. Always time difference in Solaris is around 5 hours and 10 minutes.
for date formats in the properties file looks like
log4j.appender.debug1.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss,SSS} | %p%m %n
Can anyone explain me what I'm doing wrong, or is this Log4J's intended behaviour?
Thanks!!!