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
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: Brian
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
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
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...
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
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 be
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
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
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
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.
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.
Robert
Btw:
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
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
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
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
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
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 from a
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 see
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
20 matches
Mail list logo