filtered exception logging

2002-07-29 Thread Leos Literak
Hi, I am interested, if there is any way ho to filter out some parts of exception trace. Eg. I am interested in exceptions in my code, other calls are not interesting for me. See the difference: 2002-07-26 04:03:27,325 ERROR AbcServlet - Cannot display page

RE: mdc remote logging - DOH!

2002-07-29 Thread peter riegersperger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ok, everybody get out your i'm with stupid - t-shirts ... the logging application is using log4j-1.2.5, and the other applications were using log4j-1.2beta2. using 1.2.5 in the applications resolved the problem, and the mdc is logged just fine.

How to use Chainsaw?

2002-07-29 Thread Grübel, Nicole
Hi! I just switched to Log4J 1.2.5 and now I'd like to try this graphical log-viewer Chainsaw. Where can I find some documentation about it? Could somebody perhaps give me an example how to use it with a XML-configuration-file, please? So far I neither could find anything that would help me in

RE: output going to multiple files

2002-07-29 Thread Colin MacDonald
-Original Message- Anyone see anything wrong w/ the following configuration. Okay, it looks like this: log4j.rootLogger=DEBUG, collectors, procio log4j.logger.com.neuroquest.cais.collectors=DEBUG log4j.logger.com.neuroquest.cais.io.process=DEBUG

RE: filtered exception logging

2002-07-29 Thread Thomas Muller
I think this could be a good feature, but I guess will have to code it yourself. You could write your own Layout class or extend e.g. PatternLayout. Let ignoresThrowable() return false, and handle the throwable yourself. You will have to construct the magic that filters the lines, maybe by

Re: How to use Chainsaw?

2002-07-29 Thread pravin vajirkar
I am using http://logui.sourceforge.net/ site to configure my GUI logger Viewer...Any body with better ideas?? From: Grübel, Nicole Reply-To: Log4J Users List To: Log4J-User ML (E-Mail) Subject: How to use Chainsaw? Date: Mon, 29 Jul 2002 14:23:09 +0200 Hi! I just switched to Log4J

Re: How to use Chainsaw?

2002-07-29 Thread Ceki Gülcü
As of log4j version 1.2, Chainsaw is part of log4j. See: http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/chainsaw/package-summary.html At 06:53 29.07.2002 -0700, you wrote: I am using http://logui.sourceforge.net/ site to configure my GUI logger Viewer...Any body with better

HierarchyEventListener (new logger event?)

2002-07-29 Thread Klein, Scott @ TW
I am working on a component that tracks modifications to the log4j hierarchy, for a variety of reasons, and while the HierarchyEventListener allows me to see when appenders are being added/removed I might also require being notified when loggers are either being requested/delivered or initially

Initializing Log4J in WebLogic EJB's

2002-07-29 Thread Lu, David
Is anyone initializing log4j in EJB's using a (WebLogic)startup class? In WebLogic, if the deployment order is set to zero, the startup class will get called prior to any other EJB deployments. However, in my EJB class, I have something like: public class MyEJBObject implements SessionBean{

Re: How to use Chainsaw?

2002-07-29 Thread Craig Smith
You might also consider using LogFactor5. Assuming your classpath is set up properly with the log4j.jar and its dependencies, start it with: java org.apache.log4j.lf5.StartLogFactor5 Craig [EMAIL PROTECTED] 07/29/02 07:23AM Hi! I just switched to Log4J 1.2.5 and now I'd like to try this

Loading Configuration File

2002-07-29 Thread Abhijat Thakur
We are moving from version 1.1 to 1.2 . My configuration file looks like log4j.logger.com.bdna.rule=INFO,RULE_Appender log4j.additivity.com.bdna.rule=false log4j.appender.RULE_Appender=org.apache.log4j.RollingFileAppender log4j.appender.RULE_Appender.File=rule.log

RE: How to use Chainsaw?

2002-07-29 Thread Chris Bailey
Can someone give a quick bit of info on the differences between Chainsaw and LogFactor5? e.g. when would I want to use one or the other, or what are the pros and cons of each, etc.? -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 12:52 PM To:

RE: How to use Chainsaw?

2002-07-29 Thread Mark Womack
Hey Chris, I have not used LF5 very much, but I have used Chainsaw. I like Chainsaw because it allows you to filter the set of received events retroactively. So, I can change the filter on the fly to focus on one aspect, then change it again to focus on something else. The interface just

RE: How to use Chainsaw?

2002-07-29 Thread Chris Bailey
Hey :) Yep, I'm using Chainsaw now (partly motivated by seeing your SocketHubAppender thread before). It seems to suit my needs, but I wasn't sure if maybe LF5 had something different that might be cool... -Original Message- From: Mark Womack [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: How to use Chainsaw?

2002-07-29 Thread Mark Womack
For version 1.3 I am creating a mechanism so that events from SocketHubAppender, JMSAppender, or any new appender can be easily received by Chainsaw, LF5, or any client gui. The design was inpired by how LF5 handles the receiving of remote events currently. Right now neither supports

Re: output going to multiple files

2002-07-29 Thread G.L. Grobe
Anyone know what might be wrong w/ the following config to where I'd get the error ... log4j:ERROR Could not find value for key log4j.appender.CONSOLE.layout So basically I've got ... --- log4j.rootLogger=ERROR, CONSOLE log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender # I added the

Antw: Default Initialization with configureAndWatch

2002-07-29 Thread Frank-Olaf Lohmann
Serge, have you read HTTP://marc.theaimsgroup.com/?l=log4j-userm=102509952605259w=2 also? Should help your needs. Regards Frank-Olaf Lohmann [EMAIL PROTECTED] 30.07.2002 03.07 Uhr I start using Log4j from 1.2beta4 Bay the way, I really like it and even wrote little article to convince

Default Initialization with configureAndWatch

2002-07-29 Thread Pomytkin, Sergey
I start using Log4j from 1.2beta4 Bay the way, I really like it and even wrote little article to convince colleagues use Lo4j instead of home-grown System.out's http://sergeypomytkin.boom.ru/Log4j.doc Idea of configuring from environment (vs. from main entry point) vital for me - some of my