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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
