title: Wrong time in log4j logs on Windows Server 2003
body: <p>I have a "strange" problem. I use log4j in a Java application.
  On my PC the times that appear in log4j generated logs are fine, corresponding to the local time of my machine.</p>
  
  <p>The problem is that when I deploy the application on a Windows Server 2003, the times that appear in the log files are going haywire. The date is fine, but the hours and minutes not at all. They don't match at all the server's local time. And I doesn't seem to be a time zone issue since the difference between the local time and log time seems to be 4h 30 minutes. I know, there are some timezones with 30 minutes, but, still...</p>
  
  <p>Does anybody know how is this possible?</p>
  
  <p>Here you have the conversion pattern for appender R: </p>
  
  <pre><code>log4j.appender.R=org.apache.log4j.RollingFileAppender
  log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
  </code></pre>
  
  <p>I put only this part of the log4j.properties because only this one is interesting for my problem.</p>