Re: Newbie: Log4j print to console, not to a file.

2004-03-30 Thread Jean Charles Jabouille
Hi, you can try this. Add this line: log4j.logger.ECPA=debug, LOGFILE Kawthar Bt M Sulaiman wrote: > Hello, > > I just started to use Log4j today and I'm still confused after reading > some document on apache website. > This is what I've done, so pls let me know what else I have missed: > > I

RE: Static log reading tool...

2004-03-30 Thread Ferenc Toth
> From: Alan Brown [mailto:[EMAIL PROTECTED] > > Is there any gui tool out there to statically parse logs, pulling out > only the information I specify. It could be done by assuming logging > messages are blank line bounded for instance and a search > string for the > message could be defined w

Re: Configuring logger Levels for different Appenders

2004-03-30 Thread Simon Kitching
On Wed, 2004-03-31 at 18:13, Oliver Mather wrote: > Hi, > > I need a little help with my log4j configuration files. Any help would be > very much appreciated. > > Is it was possible to configure loggers to log different levels based on > appenders ? > > > For example > -

Configuring logger Levels for different Appenders

2004-03-30 Thread Oliver Mather
Hi, I need a little help with my log4j configuration files. Any help would be very much appreciated. Is it was possible to configure loggers to log different levels based on appenders ? For example --- # I have two appenders FILE and CONSOLE. log4j.r

RE: Static log reading tool...

2004-03-30 Thread Paul Smith
On Wed, 2004-03-31 at 08:51, Alan Brown wrote: > Can Chainsaw go to remote locations (specified as virtual drives so I > guess that won't be a problemm) and read the file I specify into > chainsaw, filtering out the parts that don't meet it's criteria. > You can open a remote XMLLayout formatted

RE: Static log reading tool...

2004-03-30 Thread Scott Deboy
Thanks...we're hoping it's useful. Yes, the receiver can load any file accessible via the file system. It is passive, in the sense that any events seen in the file will be loaded in the UI. The receiver can either read files that are being written to live (as in 'tail'), or read a completed file

RE: Static log reading tool...

2004-03-30 Thread Alan Brown
I've actually used Chainsaw V2. Thought it was a really nice tool too. But I was under the impression that it won't do what I need it to do. When I used it I was sending it log messages in real time which won't work for me in this scenario. Can Chainsaw go to remote locations (specified as virtua

RE: Static log reading tool...

2004-03-30 Thread Scott Deboy
Chainsaw v2 and LogFilePatternReceiver can display log files with arbitrary formats in the UI - with a few restrictions. Here are links: http://logging.apache.org/log4j/docs/chainsaw.html - see 'installation' section for an ant script that can download & build http://cvs.apache.org/viewcvs.cgi/l

Static log reading tool...

2004-03-30 Thread Alan Brown
Is there any gui tool out there to statically parse logs, pulling out only the information I specify. It could be done by assuming logging messages are blank line bounded for instance and a search string for the message could be defined with a regular expression. In my case the search string woul

Newbie: Log4j print to console, not to a file.

2004-03-30 Thread Kawthar Bt M Sulaiman
Hello, I just started to use Log4j today and I'm still confused after reading some document on apache website. This is what I've done, so pls let me know what else I have missed: I'm using Tomcat 4.1.30 with Windows 2000. 1. Move the log4j.properties file to %CATALINA_HOME%\webapps\ROOT\WEB-IN