logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yoav Shapira <shap...@mpi.com>
Subject Re: DailyRollingFileAppender.
Date Thu, 03 Jan 2002 13:53:59 GMT
Howdy,
It'd be helpful if you attached a snippet of your config file along
with relevant logging output.  I remember when I first started using
the DailyRollingFileAppender, I set it to roll over every 5 minutes,
just for testing -- you may want to try the same thing.

Yoav

Gaurav.sahni@iflexsolutions.com wrote:
> 
> 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-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

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


Mime
View raw message