logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav.sa...@iflexsolutions.com
Subject DailyRollingFileAppender.
Date Thu, 03 Jan 2002 05:23:51 GMT

i am unable to use the DailyRollingFileAppender for logging. can i get some
working example related to it from anywhere ? 
Tried with the simple RollingFileAppender class,and it works fine,but when
tried with the DailyRollingFileAppender, there were no rollover files

There is only one field viz. DATE_PATTERN_OPTION in the given class, whose
value i have specified properly in the config.txt file,which is picked up by
the PropertyConfigurator class in the source code,while logging. and i am
sure,this value is specified accurately because, whenever logging is done,
there are no errors related to logging and the desired log file is created
properly. however, there is no daily roll-over of the file.
  any reasons explaining this ???
   thanx in advance for sparing the time.


This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recipient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.

E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

View raw message