How to dynamically change the logfile at run time for a given Appender
I want to create a log file with name based on th einput parameter passed
at runtime
Thanks
Balaji Venkatesan
_
Get your FREE download of MSN Explorer at http
bar.log", false );
logger.addAppender( appender );
...
Hope this helps.
--
Thomas
| -Original Message-
| From: Castaway Gladiator [mailto:[EMAIL PROTECTED]]
| Sent: 19 April 2002 21:48
| To: [EMAIL PROTECTED]
| Subject: how to dynamically change the logfile at run time
|
|
| How t
way Gladiator [mailto:[EMAIL PROTECTED]]
> | Sent: 19 April 2002 21:48
> | To: [EMAIL PROTECTED]
> | Subject: how to dynamically change the logfile at run time
> |
> |
> | How to dynamically change the logfile at run time for a given Appender
> | I want to create a log file
OTECTED]]
| Sent: 22 April 2002 13:47
| To: Log4J Users List
| Subject: Re: how to dynamically change the logfile at run time
|
|
| ...I think addAppender method is accumulative...
|
| Thomas Tuft Muller wrote:
|
| > Instead of changing the log file of a specified appender, you can
| > just (p
;C:\\apps\\logs\\file1.log");
Hope this helps
-Original Message-
From: ext Thomas Tuft Muller [mailto:[EMAIL PROTECTED]]
Sent: 22. April 2002 14:56
To: Log4J Users List
Subject: RE: how to dynamically change the logfile at run time
Yeah, that's why I suggested that you remove th
implements the triggering of it.
--
Thomas
| -Original Message-
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
| Sent: 22 April 2002 14:09
| To: [EMAIL PROTECTED]
| Subject: RE: how to dynamically change the logfile at run time
|
|
| One way that i use to specify the filename
Is this suppose to work with DomConfigurator?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 9:09 AM
To: [EMAIL PROTECTED]
Subject: RE: how to dynamically change the logfile at run time
One way that i use to specify the filename
e rolling
> specific behaviour, and subclasses that implements the triggering of it.
>
> --
>
> Thomas
>
> | -Original Message-
> | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> | Sent: 22 April 2002 14:09
> | To: [EMAIL PROTECTED]
> | Subject: RE: how to dyna
]]
| > | Sent: 22 April 2002 14:09
| > | To: [EMAIL PROTECTED]
| > | Subject: RE: how to dynamically change the logfile at run time
| > |
| > |
| > | One way that i use to specify the filename dynamically is setting
| > | this in the properties file: