setting up log4j

2006-06-12 Thread Darren Hall
Greetings all, I'm using Struts 1.2.9 (with commons-logging 1.1) and the problem I'm having is that I cannot seem to get my DEBUG level log statements to print. >From what I've read online, it seems that commons-logging is a wrapper around log4j (actually I have not confirmed this and tend to

RE: setting up log4j

2006-06-13 Thread Darren Hall
Thanks Jake, Maybe I should back up... Since Struts is using commons-logging, do I need to include any Log4J jar files? What is commons-logging using under the covers? -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 1:02 AM To: Log4J Users L

RE: setting up log4j

2006-06-13 Thread Darren Hall
tput being generated. What am I doing wrong? Can anyone help? Thanks (log4j.xml) http://jakarta.apache.org/log4j/";> -Original Message

RE: setting up log4j

2006-06-14 Thread Darren Hall
; > > > > > > > > > > > > > > > > > > > > > > > > > > > >-Original Message- >From: Darren Hall [mailto:[EMAIL PRO

RE: setting up log4j

2006-06-14 Thread Darren Hall
thing up in the configuration. Any ideas? Thanks, Darren -Original Message----- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 9:30 AM To: 'Log4J Users List' Subject: RE: setting up log4j I have confirmed that my log files are not being created anywhere o

RE: setting up log4j

2006-06-14 Thread Darren Hall
Ok, for those following this thread, I've trashed my old log4j.xml. I went ahead and created a new (and much simpler) log4j.xml file. Using this new file, I now see the following log file created 'C:\Program Files\Apache Group\Tomcat 5.5\logs\uwaf-debug.log'. So... progress! However, the log file

RE: setting up log4j

2006-06-14 Thread Darren Hall
, or in addition to, your logger definition below. I imagine you'll see output from Struts classes in the logger if you define it to log at the DEBUG level. Jake Quoting Darren Hall <[EMAIL PROTECTED]>: > Ok, for those following this thread, I've trashed my old log4j.xml.

Dynamic log names

2006-06-14 Thread Darren Hall
Question for everyone, I'm generating two log files, an event log and an error log using Log4j 1.2.13 and Struts 1.2.9 on Tomcat 5.5 on a Windows Pro dev box. Currently I'm using the FileAppender class to generate the logs. What I'd like to do is generate daily logs with a filename along t

RE: Dynamic log names

2006-06-15 Thread Darren Hall
names DailyRollingAppender will do something close to that. Give it a try. One difference is that the file will end with the date (not ".log") and the current file doesn't have the date in the name. On 6/14/06, Darren Hall <[EMAIL PROTECTED]> wrote: > Question for everyone

RE: Dynamic log names

2006-06-15 Thread Darren Hall
hanges. For those interested, here's the link - http://minaret.biz/tips/datedFileAppender.html Thanks again for the help with everything, Darren -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 8:47 AM To: 'Log4J Users List'