logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NehaG <neha.gup...@wipro.com>
Subject Re: DatePattern question
Date Wed, 17 Sep 2008 06:02:06 GMT

The DatePattern Attribute can be set from the configuration file of log4j as
follows:

log4j.appender.appendername.DatePattern='.'dd-MMM-yyyy'.log'



Reza Razavipour-2 wrote:
> 
> All,
> 
> how do I set and get DatePattern attribute from a
> DailyRollingFileAppender, in code?
> 
> Thanks
> Reza
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/DatePattern-question-tp19512835p19525870.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message