logging-log4j-dev 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

hello,
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
created.

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.

   Gaurav.
----------------------------------------------------------------------------

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-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message