logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: timezone question: msg#00041

apache.logging.log4cxx.user

Subject: Re: timezone question

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>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo