How do I display full exception information including inner exception(s)

2020-01-17 Thread David Thielen
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

FIXED: files not rolling over - debug dump

2005-10-03 Thread David Thielen
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; &

Anyone want to handle posting a log4j -> log4net wrapper on sourceforge?

2005-10-01 Thread David Thielen
SourceForge project for this? Thanks - dave David Thielen 303-499-2544 <http://www.windwardreports.com> www.windwardreports.com

RE: files not rolling over - debug dump

2005-10-01 Thread David Thielen
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

What is correct for DailyRollingFileAppender?

2005-09-28 Thread David Thielen
Do I do: or And is Required? Thanks - dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

files not rolling over - debug dump

2005-09-28 Thread David Thielen
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

RE: files not rolling over.

2005-09-27 Thread David Thielen
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

RE: files not rolling over.

2005-09-27 Thread David Thielen
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

RE: files not rolling over.

2005-09-26 Thread David Thielen
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

RE: files not rolling over.

2005-09-26 Thread David Thielen
]. 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

RE: files not rolling over.

2005-09-26 Thread David Thielen
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

RE: files not rolling over.

2005-09-26 Thread David Thielen
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

RE: Duplicate log entries - 1 last issue

2005-09-26 Thread David Thielen
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

files not rolling over.

2005-09-26 Thread David Thielen
/";> David Thielen 303-

RE: Duplicate log entries - 1 last issue

2005-09-23 Thread David Thielen
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

RE: Duplicate log entries - 1 last issue

2005-09-23 Thread David Thielen
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:

RE: Duplicate log entries - 1 last issue

2005-09-23 Thread David Thielen
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

RE: Duplicate log entries - 1 last issue

2005-09-23 Thread David Thielen
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

RE: Files aren't rolling over

2005-09-23 Thread David Thielen
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

Files aren't rolling over

2005-09-23 Thread David Thielen
None of our files rolled over from yesterday. Any idea why? Thanks - dave http://jakarta.apache.org/log4j/";>

Duplicate log entries - 1 last issue

2005-09-22 Thread David Thielen
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

RE: Problem with duplicate log entries - under Tomcat

2005-09-22 Thread David Thielen
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

Desperate - please help - only thing stopping us from going live

2005-09-22 Thread David Thielen
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

RE: Problem with duplicate log entries - under Tomcat

2005-09-22 Thread David Thielen
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

RE: Problem with duplicate log entries - under Tomcat

2005-09-22 Thread David Thielen
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

Problem with duplicate log entries - under Tomcat

2005-09-22 Thread David Thielen
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

Question on a config file - some missing, some duplicated in the log

2005-09-21 Thread David Thielen
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