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!

timezone: TZ not defined!: msg#00047

apache.logging.log4cxx.user

Subject: timezone: TZ not defined!

Hello,

Well, I can't get the timezone thing to work at all on my Debian linux (linux
2.2.20, g++ 3.3.4, log4cxx 0.9.7). Not only can't I get the logger to output
stuff with the right timestamps but while trying to determine why I have a
problem I ran into this strange behaviour...

I write a small program that doesn't use log4cxx at all. It just takes a look
at the value of the environment variable TZ.

If I link with liblog4cxx.so there is a dependency (ldd tells me so - this is
perhaps normal...) and the program tells me that TZ is not set.

If I link without the library (which, of course, is not used by my program at
all) the program tells me that TZ is set.

I can just about live with wrong timestamps, but living with this is a little
hard! What is going on? Any ideas - good, bad, or trivial?

regards Allen




<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