Re: Filters

2006-11-09 Thread vincentw
lf for logging (except for the short time prior > to > bootstrapping itself). > > Jake > >>, which is only sent >> to standard out. I don't have any good ideas unless you change the >> message of the LogEvent that gets through. >> >> On 11/8/06,

Filters

2006-11-08 Thread vincentw
Hi, I'm trying to filter the log message and I can do it. But I what I would like to do is, keep track of how many times the message was filtered, and when a new message comes in, log how many times the previous message was filtered and then the new message. I tried using the a logger inside

Re: RollingFileAppender Not rolling over

2006-11-06 Thread vincentw
Does the header print out depend on logging level?? What I'm seeing is if I set the level to anything but debug the header info will not be displayed. Anyone come across this or have any ideas? Thanks vincentw wrote: > > Hi, I'm having trouble with thr RFA not rollingo

Re: RollingFileAppender Not rolling over

2006-11-02 Thread vincentw
Yes it does work when using standard layout class. James Stauffer wrote: > > Does it work if you use the standard layout class? > > On 11/1/06, vincentw <[EMAIL PROTECTED]> wrote: >> >> Hi, I'm having trouble with thr RFA not rollingover. Here

RollingFileAppender Not rolling over

2006-11-01 Thread vincentw
Hi, I'm having trouble with thr RFA not rollingover. Here is my config http://jakarta.apache.org/log4j/"; debug="false"> I'm running into this problem after I have extended

Header info for rolling back up files

2006-10-26 Thread vincentw
Hi, how can I get some header info into each of the rolling back up files I create? Thanks in advance Vincent -- View this message in context: http://www.nabble.com/Header-info-for-rolling-back-up-files-tf2517167.html#a7020779 Sent from the Log4j - Users mailing list archive at Nabble.com. -

Re: Can I change log4j configuration programatically?

2006-10-12 Thread vincentw
Its seems the new level doesn't take effect. So here's what I'm trying to do. I call a function "initLogging" to set up everything...call DOMConfigurator and pass it my log4j.xml file. So now log4j is setup with some default stuff. Now the cofig file may change the settings ie. logging level.

Re: Can I change log4j configuration programatically?

2006-10-12 Thread vincentw
years > old doesn't have that. > > On 10/12/06, vincentw <[EMAIL PROTECTED]> wrote: >> >> It appears that I don't have that method...how do I get it? Do I have an >> older version? >> >> >> James Stauffer wrote: >> > >> >

Re: Can I change log4j configuration programatically?

2006-10-12 Thread vincentw
It appears that I don't have that method...how do I get it? Do I have an older version? James Stauffer wrote: > > I believe you call it on the appender after you change its settings. > > On 10/11/06, vincentw <[EMAIL PROTECTED]> wrote: >> >> What

Re: Can I change log4j configuration programatically?

2006-10-11 Thread vincentw
What would I call activateOptions() with? Bender Heri wrote: > > Yes, you can. Don't forget to call activateOptions() at the end of > reconfiguring. You need not to restart the app. > Heri > > -- View this message in context: http://www.nabble.com/Can-I-change-log4j-configuration-programat

Re: Can I change log4j configuration programatically?

2006-10-11 Thread vincentw
Well, I use DOMConfigurator initially, but what about when the program is running?? I would like to set a new root level or a log file size. Can I do something like Logger.getRootLogger.setLevel or something like that? If I do it this way do I have to stop and restart the logger? James Sta

Re: Can I change log4j configuration programatically?

2006-10-11 Thread vincentw
I see...no it's just a standalone Java application. James is probably wondering whether your code is running in a web container, such as Tomcat. In that case, LogWeb might be able to help http://www.codeczar.com/products/logweb/ It works great for me! Jake -- View this message in con

Re: Can I change log4j configuration programatically?

2006-10-10 Thread vincentw
I'm don't quite understand the question. it's a java application. James Stauffer wrote: > > In what kind of environment are you running? > > On 10/10/06, vincentw <[EMAIL PROTECTED]> wrote: >> >> Hi I'm new to using log4j and would like to

Can I change log4j configuration programatically?

2006-10-10 Thread vincentw
Hi I'm new to using log4j and would like to know if I can change the configuration of log4j while it is already running. I have passed my log4j.xml to the DOMConfigurator and then I would like to change some settings. Here is my log4j.xml file http://jakarta.apache.org/log4j/"; debug="false">