yes this is right, i am using unix with 2 apps, this problem is started when i used DWR in my App, so what do u suggest. How to handle it.
dhallammail-log4j wrote: > > Is there another application logging to the same file? > > If you're running on a *nix o/s, the file handles are the file number and > not the file name. So if another app has rolled the file, your app is > likely to still be pointing at the orignal file which has now been > renamed. > > > > > ________________________________ > From: Haider <[email protected]> > To: [email protected] > Sent: Tuesday, 13 January, 2009 11:19:53 > Subject: logging start on last log file intended of current log file > > > i am using log4j is it working file, with following configuration > log4j.appender.dest4=org.apache.log4j.DailyRollingFileAppender > log4j.additivity.dest4=false > log4j.appender.dest4.File=debuglog.txt > log4j.appender.dest4.DatePattern='.'yyyy-MM-dd > log4j.appender.dest1.ImmediateFlush=true > log4j.appender.dest4.layout=org.apache.log4j.PatternLayout > log4j.appender.dest4.layout.ConversionPattern=[%-5p]-(%c:%L)-%m%n > > Logging is working fine, all log write into debuglog.txt file, after 2 to > 3 > hours its started logging into last day of log file Intended of > current > log file. > > -- > View this message in context: > http://www.nabble.com/logging-start-on-last-log-file-intended-of-current-log-file-tp21433602p21433602.html > Sent from the Log4j - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > -- View this message in context: http://www.nabble.com/logging-start-on-last-log-file-intended-of-current-log-file-tp21433602p21437931.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
