RE: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Robert Augustyn
Paul, Thanks this worked great. Robert -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, November 27, 2003 8:41 PM To: Log4J Users List Subject: RE: How to configure log4j to generate XMLLayout compatible output. > No I have no appender configured using XMLL

How stable is Chainsaw 2?

2003-11-27 Thread Robert Augustyn
Hi, I wonder if Chainsaw 2 is a usable product? If so where can I get it? Thanks. robert __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ - To unsubscribe, e-mail: [E

RE: Log4j configuration.

2003-11-27 Thread Paul Smith
On Fri, 2003-11-28 at 13:37, Tun Lin wrote: > Thanks for your help! It works! If I want to see the log file. Where can I see > it? There will be no log 'file' as such as this configuration sends the output to Standard Error (the System.err stream). If you were to redirect this to a file then you

Re: Log4j configuration.

2003-11-27 Thread Kwok Peng Tuck
You can obtain copies of the binaries from the jakarta website. Tun Lin wrote: Does anyone has the latest version of log4j? -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 1:57 AM To: Log4J Users List Subject: Re: Log4j configuration. Yo

RE: Log4j configuration.

2003-11-27 Thread Tun Lin
Hey Paul, Really appreciate your help. Here is the properties file I used: log4j.rootCategory=stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d %c - %m%n Please advise. -

RE: Log4j configuration.

2003-11-27 Thread Paul Smith
On Fri, 2003-11-28 at 12:36, Tun Lin wrote: > Hi Paul, > > Thanks for your help and quick response but I still get the same error message > although there are some additional statements printed out after running the > following command as instructed by the last email. > This is good, it helps to

RE: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Paul Smith
> No I have no appender configured using XMLLayout. > Where can I find an example? I have looked through the > distribution and > could find nothing. > Chainsaw does not throw an error it says 0 loaded > events when opening > the file. > Thanks a lot. > robert It's pretty easy, here's a snippet fr

RE: Log4j configuration.

2003-11-27 Thread Tun Lin
Hi Paul, Thanks for your help and quick response but I still get the same error message although there are some additional statements printed out after running the following command as instructed by the last email. Command typed: java -Dlog4j.configuration=file:///c:/jarfiles/log4j.properties -Dl

RE: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Robert Augustyn
Paul, Thanks for quick response. No I have no appender configured using XMLLayout. Where can I find an example? I have looked through the distribution and could find nothing. Chainsaw does not throw an error it says 0 loaded events when opening the file. Thanks a lot. robert -Original Message-

RE: Log4j configuration.

2003-11-27 Thread Paul Smith
Please add another system property switch: -Dlog4j.debug=true e.g. java -Dlog4j.configuration=file://c:/jarfiles/log4j.properties org.pdfbox.searchengine.lucene.LucenePDFDocument C:\\pdf\h6603lab4.pdf and cut/paste what is displayed to standard out into an email to this list so that we can s

RE: Does anyone has the latest version of log4j?

2003-11-27 Thread Tun Lin
Hi, May I know why I always get an email below whenever I sent a message to [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 10:14 AM To: [EMAIL PROTECTED] Subject: Re: Does anyone has the latest version of log4j? Yo

RE: Log4j configuration.

2003-11-27 Thread Tun Lin
Does anyone has the latest version of log4j? -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 1:57 AM To: Log4J Users List Subject: Re: Log4j configuration. You keep insisting on using non-url syntax for your setup even when you reference

RE: Log4j configuration.

2003-11-27 Thread Tun Lin
I still have the error message. Is it the jar version problem? -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 1:57 AM To: Log4J Users List Subject: Re: Log4j configuration. You keep insisting on using non-url syntax for your setup even wh

Re: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Paul Smith
On Fri, 2003-11-28 at 11:42, Robert Augustyn wrote: > Hi, > I am playing around with chainsaw and it does not look > like it > recognizes my log file. > I understand that chainsaw expects XMLLayout > compatible output file for > it to be able to parse it. > How do you do that? > Thanks a lot. > Rob

How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Robert Augustyn
Hi, I am playing around with chainsaw and it does not look like it recognizes my log file. I understand that chainsaw expects XMLLayout compatible output file for it to be able to parse it. How do you do that? Thanks a lot. Robert Btw: I am using version which comes with ver 1.2.8 of log4j.

RE: I am not getting stack trace from logger.error("error",e)?

2003-11-27 Thread Robert Augustyn
Paul, Thanks, I am running 1.4.2 vm and it does not look like it's fixed... It is real pain!. robert -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, November 27, 2003 7:02 PM To: Log4J Users List Subject: RE: I am not getting stack trace from logger.error("er

RE: I am not getting stack trace from logger.error("error",e)?

2003-11-27 Thread Paul Smith
On Fri, 2003-11-28 at 10:45, Robert Augustyn wrote: > Hi Ceki, > I am getting just one line like: > Java.NullPointerException: This maybe only a very slight possibility, but I have seen exactly what you are describing in our production environment when we are using the -server option under the Sun

RE: I am not getting stack trace from logger.error("error",e)?

2003-11-27 Thread Robert Augustyn
Title: Message Hi Ceki,I am getting just one line like:Java.NullPointerException:Yes, I have configured it.I have to add that this is used with jboss.Thanksrobert-Original Message-From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]Sent: Thursday, November 27, 2003 4:49 PMTo: Log4J Users Lis

Re: I am not getting stack trace from logger.error("error",e)?

2003-11-27 Thread Ceki Gülcü
Your invocation of the 'error' method is correct. What are you observing? Have you configured log4j? At 01:40 PM 11/27/2003 -0800, Robert Augustyn wrote: Hi, I was expecting that I would get stack trace from following call: }catch(Exception e){ logger.error("Error",e); } What could possibly b

I am not getting stack trace from logger.error("error",e)?

2003-11-27 Thread Robert Augustyn
Hi, I was expecting that I would get stack trace from following call: }catch(Exception e){ logger.error("Error",e); } What could possibly be a problem? Thanks in advance. robert - Do you Yahoo!? Free Pop-Up Blocker - Get it now

Re: Log4j configuration.

2003-11-27 Thread Jacob Kjome
You keep insisting on using non-url syntax for your setup even when you reference the correct URL syntax. Do this... java -Dlog4j.configuration=file:/c:/jarfiles/log4j.properties org.pdfbox.searchengine.lucene.LucenePDFDocument C:\\pdf\h6603lab4.pdf Also, why are you saying... c:\\jarfiles\log4j

RE: Newbie setup on Orion

2003-11-27 Thread Tun Lin
Is the latest jar file 345KB? However, I still have log4j:WARN No appenders could be found for logger(org.pdfbox.pdfparser.PDFParser). log4j:WARN Please initialize the log4j system properly. What is wrong? Can anyone help? -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECT

RE: Newbie setup on Orion

2003-11-27 Thread Brian McSweeney
Hi Thomas, Thanks for the reply. I finally got it working today. It was a log4j version issue I think. Using the latest jar fixed the problem. Thanks for your help! Brian -Original Message- From: Thomas Svensen [mailto:[EMAIL PROTECTED] Sent: 27 November 2003 09:06 To: Log4J Users List S

RE: Newbie setup on Orion

2003-11-27 Thread Thomas Svensen
Sorry, I have been a little busy. Have you got any further on this? I am 100% sure that we don't do any log4j configuration in the code! Have you tested the log4j configuration outside Orion? Have you tried starting Orion with -Dlog4j.debug=true? - Thomas > -Original Message- > From: Bria

Log4j configuration.

2003-11-27 Thread Tun Lin
Hi, I put my log4j.properties file in c:\\jarfiles and I did the following: java -Dlog4j.configuration=c:\\jarfiles\log4j.properties org.pdfbox.searchengine.lucene.LucenePDFDocument C:\\pdf\h6603lab4.pdf But I get the following: log4j:WARN No appenders could be found for logger (org.pdfbox.pdfp