|
|
Sponsor |
Re: timezone question: msg#00042apache.logging.log4cxx.user
Curt, Thanks for the help, I'm running the 0.9.7 version since this is a production level application, I'll be trying to move to 0.9.8 as soon as it seems stable. The 0.9.7 handling forces the use of GMT time unless explicitly specified in the properties file to use another timezone. I looked at the 0.9.8 source (timezone.cpp) and the issue should be resolved in the 0.9.8 tree. Thanks, Jim --- Origonal Message --- If the timezone is omitted, the default time zone will be used. You would only specify the timezone on an appender when you wanted to be unaffected by the default timezone. 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, jwert@xxxxxxxxxxxxxxxxx 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 > >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: timezone question, Curt Arnold |
|---|---|
| Next by Date: | Advice requested on best way to implement log4* to support non-hierarchal categories, Daniel Einspanjer |
| Previous by Thread: | Re: timezone question, Curt Arnold |
| Next by Thread: | Advice requested on best way to implement log4* to support non-hierarchal categories, Daniel Einspanjer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|