RE: [HELP][HELP][HELP][HELP] RollingFileAppender on Windows Platform

2004-08-19 Thread Vikas Yadav
Thanks Paul I wil try it definitely. Regards Vik -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 3:50 AM To: 'Log4J Users List' Subject: RE: [HELP][HELP][HELP][HELP] RollingFileAppender on Windows Platform I've got 0 experience with R

RE: Chainsaw reading from database logs

2004-08-19 Thread James Stauffer
If I choose "No thanks..." and then choose New Receiver there is no database receiver listed. -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 5:18 PM To: 'Log4J Users List' Subject: RE: Chainsaw reading from database logs Ahhh... I see you a

RE: [HELP][HELP][HELP][HELP] RollingFileAppender on Windows Platform

2004-08-19 Thread Paul Smith
I've got 0 experience with RollingFileAppender, but I think under Windows it has this problem. Have you tried the DailyRollingFileAppender? It's a different class, and while it does not have a max-backup property, it definitely rolls over properly under windows when the date pattern triggers it.

RE: Chainsaw reading from database logs

2004-08-19 Thread Paul Smith
Ahhh... I see you are using the DOMConfigurator by having an xml file to specify the plugin... I don't think I can tell DOMConfigurator to use my PluginClassloader class as yet. Could we try creating the Receiver the manual way within the GUI, and see if that works? I know that's a pain, but I

RE: Chainsaw reading from database logs

2004-08-19 Thread James Stauffer
log4j:INFO Added C:\Documents and Settings\jstauffe\.chainsaw\plugins\Oracle-jdbc80520-nt.jar to Plugin class loader list log4j:INFO Added C:\Documents and Settings\jstauffe\.chainsaw\plugins\webstart-dependant-receivers.jar-1.3alph a.jar to Plugin class loader list ... log4j:ERROR Could not create

RE: Chainsaw reading from database logs

2004-08-19 Thread Paul Smith
James, under Java Web Start, the DBReceiver, along with the JMSReceiver, have an issue, because the Receivers themselves rely on external jars that define the JDBCDriver or JMS implementation. Due the "wonders" (read: Hell) of Classloaders, the Receiver class must be loaded by the same class load

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

2004-08-19 Thread Paul Smith
I wonder if it's a particular version of webstart that has some restrictions. Maybe an older JDK with an older JWS doesn't support the embedded properties? Thanks for letting us know it does work under some conditions. Cheers, Paul Smith > -Original Message- > From: Ionel GARDAIS [mailto:

RE: Chainsaw reading from database logs

2004-08-19 Thread James Stauffer
In the Java Web Start console I get: java.lang.ClassNotFoundException: org.apache.log4j.db.DBReceiver at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)

RE: Chainsaw reading from database logs

2004-08-19 Thread Scott Deboy
It looks as if there was an example in the input directory but it's in the Attic now so I'm not sure if this is the correct way to configure the receiver. http://cvs.apache.org/viewcvs.cgi/logging-log4j/tests/input/db/Attic/dbReceiver1.xml?rev=1.2&view=auto -Original Message- From: J

RE: Chainsaw reading from database logs

2004-08-19 Thread James Stauffer
I use the schema from DBAppender. When I try to add a receiver I don't see either of those types listed. (I am using the Web Start version.) -Original Message- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 10:58 AM To: Log4J Users List Subject: RE: Chainsaw r

RE: Chainsaw reading from database logs

2004-08-19 Thread Scott Deboy
There are two database-based receivers: http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4j/db/ DBAppender, DBReceiver Defines a schema to be used by the pair http://cvs.apache.org/viewcvs.cgi/logging-log4j-sandbox/src/java/org/apache/log4j/jdbc/ JDBCReceiver This receiver d

Chainsaw reading from database logs

2004-08-19 Thread James Stauffer
http://logging.apache.org/log4j/docs/chainsaw.html#WhatIsIt says "read events from a DB" but I can't find any info on that. I don't see any receivers that look like they would do that and I searched the mailing list and Google. Where should I look for info on doing that? James Stauffer

RE: FileAppender, XMLLayout and Chainsaw question.

2004-08-19 Thread Juan José García Lau
Many thanks Paul, Juan José García Lau -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Miércoles, 18 de Agosto de 2004 03:48 p.m. To: 'Log4J Users List' Subject: RE: FileAppender, XMLLayout and Chainsaw question. If you are using log4j1.2.x, I think the XMLLayout

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

2004-08-19 Thread Ionel GARDAIS
Strange behavior. I am using to trace log4j and to use a custom configuration file. it works fine for me ... Vous manquez d’espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.b

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

2004-08-19 Thread Charl Gerber
It works! Thanks Paul Charl --- Paul Smith <[EMAIL PROTECTED]> wrote: > It looks like that Webstart will only be able to > accept _some_ System > properties from the jnlp file. I think this is a > security restriction. > From what I can determine, I would suggest the > _first_ line in the mai

[HELP][HELP][HELP][HELP] RollingFileAppender on Windows Platform

2004-08-19 Thread Vikas Yadav
Hello everyone, Can any of you answer my problem... has anybody faced it ? Its URGENT !!! Regards Vikas Yadav SMTS - Deploy India Intersolutions Pvt. Ltd. [O] +91-120-2585702 /3 /4 Ext.: 506 -Original Message- From: Vikas Yadav [mailto:[EMAIL PROTECTED] Sent: Wednesday

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

2004-08-19 Thread Paul Smith
It looks like that Webstart will only be able to accept _some_ System properties from the jnlp file. I think this is a security restriction. >From what I can determine, I would suggest the _first_ line in the main method of your webstart client is to set this system property, ie: public static vo

RE: Chainsaw jar

2004-08-19 Thread DE BENEDICTIS DAVIDE
> -Original Message- > From: Paul Smith [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 19, 2004 12:35 AM > To: 'Log4J Users List' > Subject: RE: Chainsaw jar > > > For all you non-webstart people, you can get it here: > > http://logging.apache.org/log4j/docs/webstart/chainsaw/chain

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

2004-08-19 Thread Charl Gerber
--- Paul Smith <[EMAIL PROTECTED]> wrote: > By "this" do you mean log4j? Of course, Chainsaw > itself is a web start > application built on top of log4j. By "this" I mean getting log4j to ignore default configuration it finds in the .jar (in the root) and wait until I manually configure loggin

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

2004-08-19 Thread Charl Gerber
> Have you checked the jar files that the webstart is > using? Do any of them have a log4j.properties or > log4j.xml in the root of the jar? Yes, they do (a log4j.properties in the root), but I thought the whole point of the system property was to tell log4j to ignore this file, right? What is

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

2004-08-19 Thread Paul Smith
By "this" do you mean log4j? Of course, Chainsaw itself is a web start application built on top of log4j. Have you checked the jar files that the webstart is using? Do any of them have a log4j.properties or log4j.xml in the root of the jar? > -Original Message- > From: Charl Gerber [m

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

2004-08-19 Thread Charl Gerber
After a quick scan through the document, I assumed I had to use this: in my jnlp file... also no luck. Has anyone actually managed to get this working in Java WS? Charl --- Paul Smith <[EMAIL PROTECTED]> wrote: > > Try this link (and this whole website for all things > Webstart): >

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

2004-08-19 Thread Charl Gerber
Does someone have a straight forward working solution? The document says nothing about log4j and although I will later, I do not have the time now to read the whole thing and sort it out. For one, is it a Java WS setting or a setting in the .jnlp file? --- Paul Smith <[EMAIL PROTECTED]> wrote: