Log4jME

2007-06-21 Thread Keith Gardiner
Hi, I am trying to use Log4jMini on a Symbian S60 3rd edition phone. I cannot seem to get the jar file included in the jar at build time. Has anyone managed to use Log4jMini in this way? Keith. This message has been scanned for content and viruses by the DIT Information Services E

RE: reusability and applet dilemma

2006-02-21 Thread Keith Hatton
u provide a subclass of Logger that does nothing } } Of course rather than have this code in every class you would parametrise it and move it into a static factory class of some sort, calling it from static blocks as required. I'm sure there are more elegant solutions. Hop

RE: Logging chained Exceptions

2005-09-06 Thread Keith Hatton
Chained exceptions were only introduced in JDK 1.4, so if there is a requirement to run on JDK 1.3 (which we do) that might explain it. Keith -Original Message- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: 02 September 2005 18:00 To: Log4J Users List Subject: Logging chained

ThreadName

2005-03-05 Thread Keith Rogers
I'm reasonably sure that I must be doing something wrong, or looking in the wrong place... but can anyone help? Thanks, Keith The information in this e-mail is confidential and intended to be solely for the use of the addressee(s) and may contain copyright and/or legally privileged info

RE: Wish for CVS version: if debug enabled()

2005-01-20 Thread Keith Hatton
ny number of arguments. The only thing it can't do is handle primitive types, so you have to do String.valueOf(x) or similar. Keith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Log4j.properties not read for included jar

2004-12-08 Thread Keith Bottner
Figured it out. The top of my log4j.properties file should have been. # Create a single console appender that logs INFO and higher log4j.rootLogger=WARN, stdout log4j.com.blt=DEBUG, stdout log4j.logger.com.hp.hpl.deli.Workspace=DEBUG, stdout Thanks for everybody's suggestions.

RE: Log4j.properties not read for included jar

2004-12-08 Thread Keith Bottner
bugEnabled()) logger.log(Level.DEBUG, output); } ... } Any additional ideas? Anyone??? Keith -Original Message- From: Yoav Shapira [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 1:25 PM To: Log4J Users List Subject: Re: Log4j.properties not read for includ

Log4j.properties not read for included jar

2004-12-08 Thread Keith Bottner
file. Thanks in advance for any illumination you can bring to this problem. Regards, Keith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Example policies for log levels?

2004-12-07 Thread Keith Hatton
e, and may cause unexpected (though correct) behaviour, or some quasi-anticipated exception conditions that are fully recoverable and normally down to "user error". I don't think I generally use INFO. Hope this helps Keith -Original Message- From: Fredrik Jonson [mailto:[

RE: Another problem: Chainsaw + Log4j - java.io.NotSerializableException: org.apache.l og4j.Logger

2004-12-06 Thread Keith Hatton
Make all references to Logger objects either static, or transient. That way there should be no attempt to serialize them. Hope this helps Keith -Original Message- From: Currimbhoy Shahyan [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 15:34 To: 'Log4J Users List' Subjec

RE: http requests for nonexistent *BeanInfo.classes?

2004-11-22 Thread Keith Hatton
Looking at my code, I have it in the static{} initializer block for my applet class, so it is set before any other classes are loaded. Keith -Original Message- From: Jerry Seutter [mailto:[EMAIL PROTECTED] Sent: 19 November 2004 14:41 To: Log4J Users List Subject: RE: http requests for

RE: http requests for nonexistent *BeanInfo.classes?

2004-11-19 Thread Keith Hatton
java.beans.Introspector.setBeanInfoSearchPath(new String[0]); I forget whether this eliminates the BeanInfo requests completely, or just reduces them. Hope this helps Keith -Original Message- From: Jerry Seutter [mailto:[EMAIL PROTECTED] Sent: 16 November 2004 21:51 To: log4j-user

Task Logging

2004-11-10 Thread Keith Rogers
ot;Closing file" And if I need more info on the second stage, I could select it and drill down further... Currently, when a task fails, I need all the logging information for it, but finding it and identifying it among all the other log messages is getting very difficult. Can suggest anything

RE: recursive stack failure

2004-09-30 Thread Keith Hatton
h. Of course, everyone has different requirements, so that's just my opinion... Hope this helps Keith -Original Message- From: Lutz Michael [mailto:[EMAIL PROTECTED] Sent: 29 September 2004 20:25 To: 'Log4J Users List'; Agassi Emin; Osaki Thomas (ext); Marano Howard Subje

RE: Class loading issues using WLS 8.1?

2004-08-27 Thread Keith Hatton
In the Weblogic console (or equivalently, somewhere in the weblogic.xml descriptor) there is a "Prefer Web-Inf Classes" option, which I believe reverses (should that be "standardizes"?) the classloader preference. Maybe this would help? Keith -Original Message---

Re: Log4J and JUnit

2004-08-10 Thread Keith Rogers
. >>> [EMAIL PROTECTED] 10/08/2004 11:19:05 >>> Keith, This is a well known problem with a well known solution. Look in the archives. In particular, read the junit FAQ. At 10:52 AM 8/10/2004, Keith Rogers wrote: >I've got an application full of logging messages, and I'

Log4J and JUnit

2004-08-10 Thread Keith Rogers
ED] log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator]. log4j:WARN No appenders could be found for logger (com.mp.aat.exor.ExorDatasource). log4j:WARN Please initialize the log4j system properly. Can anyone explain whats going wrong and how I can fix it? Thanks, Keith The information in thi

RE: using log4j to one logging file from more than one process

2004-07-26 Thread Keith Hatton
You might also consider using system-level logging (e.g. with NTEventLogAppender or SyslogAppender, depending on the platform) or a SocketAppender from each application to a listener in a fourth JVM on the box. Keith -Original Message- From: Dennis Cook [mailto:[EMAIL PROTECTED] Sent

Re: problem with log4j on weblogic 8.1 on linux

2004-06-23 Thread Keith
thods directly. Cheers, Keith Alison Ortega wrote on 22/06/2004, 18:50: > Where are you defining the log4j.jar in your classpath? > > Alison Ortega > North Carolina State University > ACS > Systems Programmer II > 919-513-1417 > > >>> [EMAIL PROTECTED]

problem with log4j on weblogic 8.1 on linux

2004-06-22 Thread Keith
deploys fine. Any ideas? Anyone seen this before? Below is the exception CHeers, Keith <22-Jun-2004 11:38:58 o'clock IST> <22-Jun-2004 11:38:58 o'clock IST> (Lorg/apache/log4j/Level;)V at org.apache.log4j.LogManager.(LogManage

FileAppender file path in a web app

2004-05-26 Thread Keith Rogers
How would I specify a path for file appenders to use in a web-app? I can specify an absolute path, but while this is fine on my development server, it will be a problem when I deploy to the hosting service we use, as I don't know what the file structure is above our application directory. What I'd

RE: Which Way of "Extending" Gives Fastest Performance

2004-04-22 Thread Keith Hatton
but you've just said that being right is not as important as being fast. :) Keith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: logging inside EJB

2004-04-20 Thread Keith Hatton
may not be the prettiest solution but it works for me. If anyone has more elegant solutions ... Hope this helps Keith -Original Message- From: Lin, Bosheng [mailto:[EMAIL PROTECTED] Sent: 20 April 2004 13:35 To: 'Log4J Users List' Subject: RE: logging inside EJB even add

RE: Problems with my classpath?

2004-03-29 Thread Keith Hatton
ronments (should I just let my server exit because someone raised an error? :)). But then again, J2EE turns "normal" classloading inside out, ... Just my $0.02 Keith -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 29 March 2004 15:42 To: Log4J Users List

RE: log4j output to CORBA via socket appender ?

2004-03-04 Thread Keith Hatton
appender as you could look at other appender implementations (e.g. to the Windows NT Event Service, or Unix syslog) to see how they have handled things. Hope this helps Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thu 0

RE: Catching Exceptions through Log4j

2004-02-20 Thread Keith Hatton
Hi Ajay, A real hack would be to redirect System.err to a file, then all calls to printStackTrace() will magically go to that file. Use System.setErr(...) to do this. Keith -Original Message- From: Ajay [mailto:[EMAIL PROTECTED] Sent: 20 February 2004 04:06 To: Log4J Users List

RE: Question on Log4J Reliability

2004-01-16 Thread Keith Hatton
integrate it somehow (with the right kind of appender). Keith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]