Our log4j (properties below) gives us the Exception.getMessage(), but that's
all. I need it to log the stack trace and all inner exceptions, with the stack
trace for each of those.
How do I do this?
log4j.rootLogger=DEBUG, file
# Direct log messages to a log file
log4j.appender.file=org.apache.l
Thielen
www.windwardreports.com
303-499-2544
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 7:02 AM
To: David Thielen
Subject: Re: files not rolling over - debug dump
On 10/1/05, David Thielen <[EMAIL PROTECTED]> wrote:
> Hello;
&
SourceForge project for
this?
Thanks - dave
David Thielen
303-499-2544
<http://www.windwardreports.com> www.windwardreports.com
Hello;
I used WhoLockMe (a nice little utility) and it shows that Tomcat has it
opened/locked twice. Same PID.
I have 2 webapps that are both logging - but the jar and log4j.xml are both
on ${catalina}/common/lib & classes.
Is this the problem?
Thanks - dave
David Thi
Do I do:
or
And is
Required?
Thanks - dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi;
I ran last night with log4j debugging on and got:
log4j: setFile called: C:\Tomcat 5.5/logs/tomcat.log, true
log4j: setFile ended
log4j: Appender [tomcat] to be rolled at midnight.
log4j: Adding appender named [tomcat] to category [root].
WARN [TP-Processor3] No configuration found. Configur
I'm running under Tomcat - how do I set it for that?
And what does it write to?
Thanks - dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 27, 2005 9:00 AM
To: Log4J Users List
Su
Full control also - and the other files are getting renamed. I'm going to
have it write the exception to stdout when it fails to rename - that's the
beauty of open source .
Thanks - dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: news [mai
Hi;
It's running as Local System (default Tomcat install). And System has full
privleges on the files.
Also, all log files except tomcat & windward are being successfully renamed.
Any other possibilities?
Thanks - dave
David Thielen
303-499-2544
www.windwardreports.com
-Origina
].
log4j:ERROR Failed to rename [C:\Tomcat 5.5/logs/tomcat.log] to [C:\Tomcat
5.5/logs/tomcat.log.2005-09-25].
No other message - just this.
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 8:38 AM
19 File(s) 78,583 bytes
2 Dir(s) 9,557,209,088 bytes free
C:\src\xmlreport>
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 8:38 AM
To: Log4J Users
stead.
??? - thanks - dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 7:54 AM
To: Log4J Users List
Subject: Re: files not rolling over.
Rolling logs won't roll until the need to. I
Hi;
That works. But it bothers me that it has to be done this way - it seems
like you should be able to do it using logger & root.
Thanks - dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Mo
/";>
David Thielen
303-
Hi;
Well, I'm off for a fun weekend - thank you to all for helping.
If by any chance any of you are working this weekend...
As you said, what I want is:
warn from anything to stdout and tomcat
info from org.apache to stdout
thanks - dave
David Thielen
303-499-2544
www.windwardreport
tdout
only, I have to do:
But... I can't have 2 loggers with the same name.
So, how can I do this?
Thanks - dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From:
Ok, but why does nothing get written to tomcat when I add the for
stdout? Shouldn't tomcat still get written to? It's like the says
ONLY write the classes listed to what it has, not also???
Thanks - dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message
that works fine.
But then I also want info for org.apache in stdout only. So I add:
And now tomcat gets nothing written to it. Why? The element does
not mention tomcat.
??? - thanks - dave
David Thielen
303-499-2544
www.windwardreport
AHHH - thank you
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael A Chase
Sent: Friday, September 23, 2005 7:37 AM
To: log4j-user@logging.apache.org
Subject: Re: Files aren't rolling over
On Fri, 2
None of our files rolled over from yesterday. Any idea why?
Thanks - dave
http://jakarta.apache.org/log4j/";>
Hi;
My log file is below. I switched to the xml format and here is the problem I
am having.
If I have:
Then nothing is written to the tomcat appender.
If I have:
Then I get two problems:
First, to
oting David Thielen <[EMAIL PROTECTED]>:
> Hello;
>
> Thank you. I just tried that but any log4j.logger.net settings then get
> applied to both.
Yes, of course it does. If you don't want log4j.logger.net settings to
apply to
appenders defined in the root logger, then set th
Hi;
We're stuck on our logging properties (and I'm getting beat on a lot). And
everything I have tried has not worked. Rather than show what I have tried,
I figure it is easier to just list what we need.
* This is on Tomcat so it must be a text (not xml) properties file. There is
a bug in Tomca
stdout, tomcat
On 9/22/05, David Thielen <[EMAIL PROTECTED]> wrote:
> And if possible I would really like 2 files, one for net.windward(info)
and
> one for everything else (warn).
>
> Thanks - dave
>
>
> -Original Message-
> From: David Thielen [mailto:[EM
And if possible I would really like 2 files, one for net.windward(info) and
one for everything else (warn).
Thanks - dave
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 9:17 AM
To: log4j-user@logging.apache.org
Subject: Problem with
Hello;
I am trying to do the following:
1) Send tomcat info logs and other warn logs to the console
2) Send net.windward info and other warn logs to a file.
This is my log file - it is not writing anything to the console and it is
writing all file entries twice. Also it does not rename
Hi;
I am trying to do the following with log4j. This is for a servlet running in
Tomcat and the log4j.properties file is in common/classes.
I want the console to show warn plus info for org.apache.catalina. In the
present config it writes nothing to the console.
I want the log file to s
27 matches
Mail list logo