RE: [Q] -Dlog4j.defaultInitOverride=true in Java Webstart?

2004-08-18 Thread Paul Smith
Try this link (and this whole website for all things Webstart): http://www.vamphq.com/jwsfaq.html#magic-props > -Original Message- > From: Charl Gerber [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 19, 2004 4:42 PM > To: Log4J Users List > Subject: [Q] -Dlog4j.defaultInitOverride=t

[Q] -Dlog4j.defaultInitOverride=true in Java Webstart?

2004-08-18 Thread Charl Gerber
System property: -Dlog4j.defaultInitOverride=true How do I configure it to be used in an application that starts in Java Webstart? I have tried -Dlog4j.defaultInitOverride=true -log4j.defaultInitOverride=true -Dlog4j.defaultInitOverride true -log4j.defaultInitOverride true in the tag of the ,

Log's as e-mail attachment - not in body

2004-08-18 Thread Aditya Srivastava
Hi, Is there a way to use SMTP appender to send logs as a e-mail attachment and not in the e-mail body. Thanks, Adi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Client/Server issue with Log4j

2004-08-18 Thread Paul Smith
You might want to look if any of the jars that the client side app uses contains a log4j.properties or log4j.xml file in the top level directory of that jar, then log4j's autoconfiguration will attempt to use it, probably before your client side code tries to configure log4j. If this is the case,

RE: Chainsaw jar

2004-08-18 Thread Paul Smith
You are s right. I have updated some build scripts, and now when I create a Webstart distribution it will also create a zip of all the necessary jars, plus a batch file to run it. For all you non-webstart people, you can get it here: http://logging.apache.org/log4j/docs/webstart/chainsaw/ch

RE: Embed log output viewer into a Swing/Desktop application

2004-08-18 Thread Paul Smith
You could probably adapt the org.apache.log4j.chainsaw.MessageCenter and MessageCenterAppender classes available from HEAD to suit your needs. The MessageCenterAppender is designed to be attached like a normal appender to any logger, and stores the events in a ListModel. MessageCenter then just ad

RE: FileAppender, XMLLayout and Chainsaw question.

2004-08-18 Thread Paul Smith
If you are using log4j1.2.x, I think the XMLLayout did not output as many logging information elements. This has been rectified in log4j1.3 and is available if you use the build from CVS. Having said that though, remember that Chainsaw will display the columns, even if the event received does not

Changing ErrorHandler for Appender

2004-08-18 Thread Aditya Srivastava
Hi, How can I specify a Custome ErrorHandler for an Apeender via the properties file. Thanks, Adi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

FileAppender, XMLLayout and Chainsaw question.

2004-08-18 Thread Juan José García Lau
Hi, I've seen when I use the org.apache.log4j.FileAppender and the layout=org.apache.log4j.xml.XMLLayout in my chainsaw I have the following information: Level, logger, Time, Thread, Message, properties and Throwable Then when I use the org.apache.log4j.net.SocketAppender I have all the Infor

JMX

2004-08-18 Thread Vic Cekvenich
is there anyone using JMX with logging? tia .V -- Rich Internet Applications User Interface (RiA/SoA) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Chainsaw jar

2004-08-18 Thread Scott Deboy
Paul Smith has been kind enough to sign and upload the jars required by Chainsaw. There is no nightly build of log4j's CVS head available. Here is the directory where these hand-built jars are stored (and downloaded by Web Start): http://logging.apache.org/log4j/docs/webstart/chainsaw/lib/ Dow

Embed log output viewer into a Swing/Desktop application

2004-08-18 Thread Matt Munz
Hi all, I'm trying to show my application's log output in a JPanel or something similar, and I'm looking for suggestions, and especially any third-party widgets that I could embed into my app. Here are my requirements. 1) Uses the latest stable log4j release (1.2.8) w/o modification 2) Doe

RE: need the latest jar..

2004-08-18 Thread Shapira, Yoav
Hi, No problem. See http://www.apache.org/dev/contributors.html#cvsbasics for CVS guidelines. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Amit Nigam [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 18, 2004 10:23 AM >To: 'Log4J Users List' >Subject: RE: ne

RE: need the latest jar..

2004-08-18 Thread Amit Nigam
thanx for the info Yoav. But do u mean that i need to get the source code from http://logging.apache.org/log4j/ site? can u tell me the steps involved in downloading CVS head? sorry but i m new to it. thanx for ur help. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent

Chainsaw jar

2004-08-18 Thread DE BENEDICTIS DAVIDE
Where I can get a chainsaw jar ready to use through a normal http download? I'm trying to download chainsaw because I lost the jar on mi pc. Is it possible that if I haven't the webstart or cvs, ant, cygwin and other witchcrafts, there's no way to get a simple plain old sad jar of the latest vers

RE: need the latest jar..

2004-08-18 Thread Shapira, Yoav
Hi, Two options: download CVS HEAD and build it yourself (it compiles without a problem, I just did it last night). Or use the Gump nightlies, http://brutus.apache.org/gump/public/buildLog.html. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Amit Nigam [mailto:

RE: generating log4j.xml

2004-08-18 Thread Shapira, Yoav
Hi, I'm not that gung-ho about configuration-file-generation tools. We've had some bitter experiences in the Tomcat area related to this. The problem is that the code tends to develop faster than the configuration-file-generation tool and so the configuration file generator outputs either incomp

RE: Configuring Log4J

2004-08-18 Thread Shapira, Yoav
Hi, There is documentation on these configuration parameters. It's in the Short Manual, the JavaDoc for the PropertyConfigurator class, the FAQ (http://logging.apache.org/log4j/docs/faq.html), and Ceki's complete log4j manual (a non-free book that's well worth the purchase according to several op

RollingFileAppender on Windows Platform

2004-08-18 Thread Vikas Yadav
Hi, I am facing a typical problem when I use log4j on Windows platform. The problem is that it overwrites the existing log file when it reaches to maximum size even though I have given maximum no of backups to 50. Below is the XML file where I have defined properties. It works

Client/Server issue with Log4j

2004-08-18 Thread Charl Gerber
We're running a J2EE application on WebLogic that uses log4j. We do not do any explicit log4j configuration, but have the log4j.properties file in the build where log4j picks it up automatically and configures the logging. Via Java WebStart we download some shared modules that are used by both cli