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: Problem with RollingFileAppender: msg#00009

apache.logging.log4cxx.user

Subject: Re: Problem with RollingFileAppender


Seba,

If you specify an exact path for the log file in the properties file, then
the logging will be immune to changes in the cwd.

My guess is that you used something like this:

log4j.appender.Exceptions.File=exception.log

You should try:

log4j.appender.Exceptions.File=/var/log/exception.log (or whatever the path
may be)

Thanks,

James Wert Jr.

JWert@xxxxxxxxxxxxxxxxx

ILS Technology, Inc.
5300 Broken Sound Blvd. Suite 150
Boca Raton, FL 33487

Office: (561) 982-9898 x124
Cell: (561) 504-3452




abesus@xxxxxxxxx

To:
log4cxx-user@xxxxxxxxxxxxxxxxxx

03/03/2005 04:11 cc:

AM Subject: Problem with
RollingFileAppender
Please respond to

"Log4CXX User"







Hi,
I've got small problem while using log4cxx and RollingFileAppend. My app is
logging using log4cxx and RollingFileAppender. After app starts it logs
into file eg. test.log - file name is taken from properties file via
PropertyConfigurator. While my app is running (and logging) i do something
else on my pc and i change current directory to other (not apps) directory
and when file test.log reach size larger tham maxfilesize defined in
properties logger rollover file and starts logging in file test.log but NOT
in app directory but in currect directory. This behaviour is a little
unexpected (IMHO). Is any chance that this will change in future?
reggards
Seba

----------------------------------------------------------------------
Startuj z INTERIA.PL!!! >>> http://link.interia.pl/f1837









<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