Re: Verifying initialization

2009-09-11 Thread Jacob Kjome
have you tried using?.  -Dlog4j.debug=true Jake On Fri, 11 Sep 2009 10:46:53 -0700 (PDT) ecmcn wrote: OK, thanks guys. I'm using a couple of custom appenders and so can at least check that those loaded ok. I agree with the "fail gracefully" approach, but not so much with "fail silent

Logging done in the wrong files

2009-09-11 Thread S.Kannan
Hi All, A log4j newbie handling a bigger task .. This is my problem Hope somebody has got some solution for this. We have a web application as well as a java application. Both are big enough . But since both are managing the same business around 3 to 4 ear files are used in common for both the

RE: Verifying initialization

2009-09-11 Thread ecmcn
OK, thanks guys. I'm using a couple of custom appenders and so can at least check that those loaded ok. I agree with the "fail gracefully" approach, but not so much with "fail silently". Eric -- View this message in context: http://www.nabble.com/Verifying-initialization-tp25392804p25405474.h

Re: Logging done in the wrong files

2009-09-11 Thread Jacob Kjome
Please send questions to the user list.  The dev list is for development, not user questions.  Note that I've made the switch in my response and CC'd you to make sure you see my response. Are these all running in the same JVM?  Are you using standard classloading or specially configuring apps

Re: Log4J log statements not working with RMI

2009-09-11 Thread Jacob Kjome
Logging configuration is stored in a Logger Repository (one by default, though more may exist if using a Logger Repository Selector) in a given JVM.  Separate JVMs cannot share a common Logger Repository in the stock Log4j and nothing has been written to achieve such a thing, to my knowledge.  A

RE: Verifying initialization

2009-09-11 Thread Matt Brown
I don't think you're going to find anything in log4j proper which can help you find out this type of information. I believe that one of the major design goals for log4j was for the framework to fail gracefully, and not have logging errors cause application errors - not to prevent an application

RE: Verifying initialization

2009-09-11 Thread Michael Erskine
> From: ecmcn [mailto:eric.mcne...@gmail.com] > Subject: Verifying initialization > What are some common techniques for verifying Log4J startup and > initialization completed successfully? > > For a specific example, if DOMConfigurator can't parse my XML config file > I'll get errors to stdout but

Re: Log4j Performance with Netbeans Platform

2009-09-11 Thread Gregory Sydler
Ok thanks, I posted on the NetBeans mailing list and bugtrack. d...@openide.netbeans.org mailing list: http://openide.netbeans.org/servlets/BrowseList?list=dev&by=thread&from=1021855 http://openide.netbeans.org/servlets/BrowseList?list=dev&by=thread&from=1025671 NetBeans bugtrack: http://www.ne