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: 0.9.7 timezone part2: msg#00059

apache.logging.log4cxx.user

Subject: Re: 0.9.7 timezone part2


On Feb 17, 2005, at 5:33 PM, jwert@xxxxxxxxxxxxxxxxx wrote:

Curt,

Thanks for the quick response. In 0.9.8 will the loggers use the current
system timezone by default?

0.9.7 had the nasty side effect of resetting the default time zone to get time zone offsets and didn't clean up after itself. The current CVS HEAD doesn't touch the TZ environment variable and will use APR's default timezone methods unless an explicit timezone is specified.

I am not trying to do anything special with
outputting to different timezones, I just want to print the logs in the
current timezone on the system. Currently the only way I can accomplish
this is by setting the timezone explicitly in the property file. I am
leery to move to 0.9.8 at this time because the product we are using
log4cxx in is going GA in 5 weeks, and I don't think there will be a stable
0.9.8 by that time.

I think it is probably worth a little time to see scope out any compilation problems that you might encounter. The migration from 0.9.7 should be fairly painless unless you used << in logging statements a lot. (The migration path for that is to use the logstream facility, but that needs to be reworked since it has a surprising large performance hit.) At least it would allow you to have a feel for the cost of switching in case you start running into one of the other significant bugs in 0.9.7 and can't work around it.


Don't put the timezone handling at the top of the priority list on my
account, we will need to stick with 0.9.7 for the near future, I will
survive by hacking the properties file from the application and letting
ConfigureAndWatch refresh the settings.


It should have been pretty close to the top of the list anyway. I've started porting over some of the log4j test classes and will probably see it through now.




<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