RE: How to get remote log info with chainsaw?

2006-02-24 Thread Scott Deboy
What patternLayout are you using to create the log file? Folks often truncate the severity using %5p to make the severity entries in the log line up, which causes a problem in Chainsaw because it's looking for the full name of the severity to display (use %p if you can in this case). Scott De

RE: How to get remote log info with chainsaw?

2006-02-24 Thread Chaohua Wang
Thank you so much, Great explanation. I am just going to use http:// to make remote monitoring. I have a last question. >From my event panel, I saw level column, all are "DEBUG". I am not sure reason why. I checked my log4j.xml, chainsaw.xml, and my codes All I have set is "INFO". And some ERROR

RE: How to get remote log info with chainsaw?

2006-02-24 Thread Scott Deboy
hIf you are trying to read a log file you have two options: - LogFilePatternReceiver if the log file is accessible via a standard URI (file://, http://) - VFSlogFilePatternReceiver if the log file is accessible one of Jakarta commons-vfs supported file systems See Chainsaw's home page fo

How to get remote log info with chainsaw?

2006-02-24 Thread Chaohua Wang
Hi, We have a couple of developers, would like to monitor remote server log info. I am not sure which receiver (MulticastReceiver, Socketreceiver)I need to use and setup. Currently I know how to set up from localhost (Thank you, Scott). >From chainsaw.xml file, I can point to my log file. But

RE: How to start chainsaw

2006-02-24 Thread Scott Deboy
I used your config file and identical settings, pointed it to my jboss 3.2.6 server log, and it loaded the events (19000 of them) without problems. You may be encountering issues related changes in how Chainsaw settings are persisted. Try this: 1. Exit Chainsaw 2. Go to user.dir/.chainsaw and

RE: How to start chainsaw

2006-02-24 Thread Chaohua Wang
Hi Scott, Thank you again, I have found issue: I should set I set file:/C:/chainsaw/chainsaw.xml Best Regards, Chaohua -Original Message- From: Chaohua Wang [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 9:05 AM To: Log4J Users List Subject: RE: How to start chainsaw Hi Sc

RE: How to start chainsaw

2006-02-24 Thread Chaohua Wang
Hi Scott, Thank you, Yes, tab is set to PROP.hostname - PROP.application, In the chainwas-log event panel, I can see a line in Message: "using c:/chainsaw/chainsaw.xml for auto-configuration. But in the Logger tree panel, I can only see all org.apache... tree, not my package tree. The following

Re: Logging to 2 places for different levels

2006-02-24 Thread russell . nile
Greg, You can use the filter to control that. For example:

Logging to 2 places for different levels

2006-02-24 Thread Greg Michalopoulos
Here is my properties file. How can I get D2WebServices.Info to log to CONSOLE,d2webservice_info for level WARN and just d2webservice_info for level DEBUG? log4j.rootLogger=warn,CONSOLE log4j.logger.D2WebServices.Info=debug,d2webservice_info log4j.logger.D2WebServices.VMRService=info,vmrservice

RE: No appenders could be found for logger

2006-02-24 Thread Kalita, Bitap Raj \(RAPID APPLICATION DEVT\)
Thanks Jake,it worked. Bitap -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 9:26 AM To: Log4J Users List Subject: Re: No appenders could be found for logger So, you are saying, eventually, after your code using PropertyConfgurator runs, t

Re: debug file is huge

2006-02-24 Thread Javier Gonzalez
You could configure separate appenders for your own app and the jboss AS, logging to separate files. Then configure the respective loggers to use those appenders and disable additiviy to stop the logging mixup at the root logger level. On 2/24/06, Pedro Costa <[EMAIL PROTECTED]> wrote: > > I've my

How do I eliminate the empty files?

2006-02-24 Thread russell . nile
Folks, I use a common Log4j.xml for many VM's and some of the appenders are not appropriate for all instances. As a result I get a lot of useless empty files. How can I avoid that without specifying many different configuration XML's? Russell J. Nile --

debug file is huge

2006-02-24 Thread Pedro Costa
I've my application that runs over jboss Application Server. When I try to debug my application, I see that my debug messages are mixed with the message of the jboss AS. So, it's impossible to see my messages of the application (log.debug(..)), because the log file is huge. How can put all kind of