Timezone specification has been added to log4j, but in a slightly different way. Instead of timezone being a separate property of the appender, it can be specified as the second parameter to the %d conversion pattern. For example, "%d{yyyy-MM-dd HH:mm:ss}{GMT}Z %m %n"
Before 0.9.8, log4cxx will be modified to follow log4j's timezone specification. The JIRA issue is http://issues.apache.org/jira/browse/LOGCXX-49.
On Jan 17, 2005, at 5:51 PM, [EMAIL PROTECTED] wrote:
Is there a way to set the timezone for ALL output from the application? I
can set the property for each appender in the properties file, but our
software runs on an embedded device, and the user can change the timezone
of the system. I can't have them editing the properties file to change the
timezone entires in it. Any help would be greatly appreciated!
Thanks, Jim