I understand this, thanks. The question was how to do that at runtime, on the fly...
On Tue, Sep 16, 2008 at 11:02 PM, NehaG <[EMAIL PROTECTED]> wrote: > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
