You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by jw...@ilstechnology.com on 2005/03/03 14:42:40 UTC
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@ILSTechnology.com
ILS Technology, Inc.
5300 Broken Sound Blvd. Suite 150
Boca Raton, FL 33487
Office: (561) 982-9898 x124
Cell: (561) 504-3452
abesus@poczta.fm
To: log4cxx-user@logging.apache.org
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