logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Changing log filepath and file name at runtime???
Date Fri, 03 Aug 2007 20:51:03 GMT
You many need to use repository selectors so that each instance has
its own configureation.  Then each instance can have its own config
file.

On 8/3/07, sateesh <sk_acura@yahoo.com> wrote:
>
> Hi James,
>
>  We are running more than one sinatnce of our Service in a separate thread
> and we would like to have separate log file for each of them which we will
> specify while initializing it
>
>  How do we specify it??
>
>  We are using SLF4J and Log4J
>
>  Could u pls let me know..
>
> Thanks
> Kumar
>
>
> James Stauffer wrote:
> >
> > Can you give more details about how and why you want to change it?  Do
> > you want to set it only once per run (then use system properties) or
> > do you want to change it multiple times per run (you may have to write
> > your own appender).
> >
> > On 5/23/06, Kailash KN <kailash_kn@thbs.com> wrote:
> >> Hi all,
> >>
> >>     I would want to change the log filepath and log filename at runtime,
> >> how do i go about doing it???
> >
> >
> > --
> > James Stauffer
> > Are you good? Take the test at http://www.livingwaters.com/good/
> >
> > ---------------------------------------------------------------------
> > 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/Changing-log-filepath-and-file-name-at-runtime----tf1667116.html#a11989397
> 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
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
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