|
|
Sponsor |
Re: Problem with RollingFileAppender: msg#00009apache.logging.log4cxx.user
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> |
|---|---|---|
| Previous by Date: | Problem with RollingFileAppender, abesus |
|---|---|
| Next by Date: | Re: Re: Problem with RollingFileAppender, abesus |
| Previous by Thread: | Problem with RollingFileAppender, abesus |
| Next by Thread: | Re: Problem with RollingFileAppender, Curt Arnold |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|