Re: modifying log levels through a management console

2001-06-06 Thread Eddie
> All test category messages sent to A1 and all messages sent to A2 both > get logged at all levels. Is there anything saved by having the category > check, as opposed to sending the message to the appender to be checked > there as well? Thanks Rob, I will have two appenders, and one will only lo

Re: modifying log levels through a management console

2001-06-06 Thread Eddie
ED]> Sent: Tuesday, June 05, 2001 7:24 PM Subject: RE: modifying log levels through a management console > >>Were can I find a reference of the possible properties of an appender, for > example the DailyRollingFileAppender ? << > > There isn't one, yet. I've

Re: modifying log levels through a management console

2001-06-05 Thread Ceki Gülcü
At 10:52 05.06.2001 -0700, you wrote: >Mark Masterson wrote: > >>In your example, the easiest way to achieve what you're after is to use the >>"Threshold" parameter, common to all Appenders, and set its priority as >>appropriate. > > >Is it more performant to set the log level via the Appender o

Re: modifying log levels through a management console

2001-06-05 Thread Rob Wygand
Mark Masterson wrote: > Short answer: I think that you would find that setting the priority at the > Category level is faster, in terms of absolute performance. That's what I was assuming for the reasons you mentioned in your explanation. As for benchmarking.. maybe after I get the product

RE: modifying log levels through a management console

2001-06-05 Thread Mark Masterson
>>Is it more performant to set the log level via the Appender or via Categories?<< Ah, here I'm likely to get myself in trouble, as this is (for me, at least) a subtle and complicated issue. Short answer: I think that you would find that setting the priority at the Category level is faster, in t

Re: modifying log levels through a management console

2001-06-05 Thread Rob Wygand
Mark Masterson wrote: > In your example, the easiest way to achieve what you're after is to use the > "Threshold" parameter, common to all Appenders, and set its priority as > appropriate. Is it more performant to set the log level via the Appender or via Categories? Here's my example... lo

RE: modifying log levels through a management console

2001-06-05 Thread Mark Masterson
>>Were can I find a reference of the possible properties of an appender, for example the DailyRollingFileAppender ? << There isn't one, yet. I've just started writing one, but it won't be done until the end of July, or mid-August. That's the short answer: the long answer == in fact, you can fi

Re: modifying log levels through a management console

2001-06-05 Thread Eddie
Were can I find a reference of the possible properties of an appender, for example the DailyRollingFileAppender ? Why ? I like to know how to filter log messages by his category when send to an appender. For example: the console should log message with category => DEBUG and the DailyRollingFileAp

RE: modifying log levels through a management console

2001-06-05 Thread Mark Masterson
You don't need to jump through this many hoops to get this behavior - there is an easier way to achieve dynamic, run-time re-configuration using standard config files. Specifically, you don't need to roll your own file listener - Log4J already has one. To do this, you subclass FileWatchdog and t

RE: modifying log levels through a management console

2001-06-05 Thread Gino Marckx
Title: RE: modifying log levels through a management console Hi there, I made such a console myself, and after even extending it a little bit more, I was planning to mail it Ceki as a contribution.  But if you really want to use it now, no problem, just mail me and I'll send it t

Re: modifying log levels through a management console

2001-06-05 Thread yogi
Hi, We had a similar requirement of runtime modification of log levels in our project. We could do it easily since we had already instrumented our software using Applixray's AIC implementation for Java. However, it really boils down to just having a file modification listener that monitors the c

AW: modifying log levels through a management console

2001-06-05 Thread Manalil, Shibu
st Betreff: modifying log levels through a management console It would be nice to be able to modify log levels during run time. I built into my logger the ability to get a list of all logs ( categories ) and modify the log level of each during runtime, so I can turn on debugging and debug in a

modifying log levels through a management console

2001-05-29 Thread Aaron Smuts
It would be nice to be able to modify log levels during run time. I built into my logger the ability to get a list of all logs ( categories ) and modify the log level of each during runtime, so I can turn on debugging and debug in a production environment if necessary, without restarting the serv