g for logging
"log.info("Your log message");"
"log.debug("Your log message");" etc..
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 6:18 PM
To: 'Struts Users Mailing List'; 'Martin Gai
I've got it working now.
Thanks for the help everyone.
Darren
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 5:45 PM
To: Struts Users Mailing List
Subject: Re: [newb question] Turning on DEBUG level logging
George/Darren
public
Robin Curts wrote:
>
>
>
>
>
>
>
> [...]
> DEBUG - 06/14/2006 14:24:45.823 -
> [ContainerBackgroundProcessor[StandardEngine[Catalina]]] - Start
> expire sessions StandardManager at 1150309485823 sessioncount 1
> DEBUG - 06/14/2006 14:24:45.823 -
> [ContainerBackgroundProcessor[StandardE
m: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 14, 2006 5:12 PM
Subject: RE: [newb question] Turning on DEBUG level logging
I'm not sure about using 'DEBUG' as the name of an appender. Why not
try something like 'logfile'?
I'm not very familiar with configuring L
Darren Hall [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 14, 2006 2:24 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [newb question] Turning on DEBUG level logging
>
>
> I tried that. There is no output from log4j to the daily
> catalina.log files.
>
lank. What did I do wrong now?
Any ideas??
Thanks,
Darren
(log4j.xml)
http://jakarta.apache.org/log4j/";>
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 11:19 AM
To: Struts Us
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 11:19 AM
To: Struts Users Mailing List
Subject: Re: [newb question] Turning on DEBUG level logging
Darren Hall wrote:
> I'm not starting it from the command line any longer. There
Darren Hall wrote:
> I'm not starting it from the command line any longer. Therefore, I can't see
> any console output from Tomcat.
>
Try using a ConsoleAppender and tail -f the log file in the tomcat log
directory.
Dave
-
2006 10:40 AM
To: user@struts.apache.org
Subject: RE: [newb question] Turning on DEBUG level logging
Darren Hall asked:
> I've included the log4j.jar in my WEB-INF/lib directory and
> created a log4j.xml file based on an example I found online
> (rather then a log4j.properties fil
Darren Hall asked:
> I've included the log4j.jar in my WEB-INF/lib directory and
> created a log4j.xml file based on an example I found online
> (rather then a log4j.properties file). The application
> deploys error free and executes - however my log files are
> not created.
>
> I can think of
006 2:18 PM
To: Struts Users Mailing List
Subject: Re: [newb question] Turning on DEBUG level logging
Darren Hall wrote:
> So essentially, I should download Log4J, include the jar in my classpath
and
> create a "Log4J.xml" file. Correct?
>
Most people use the properties file, but t
. Given that I'm
using Tomcat 5.5 as my app server - where will it try to create my log
files? In my webapps/ folder, or in the /bin
directory?
Thanks,
Darren
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 2:18 PM
To: Struts Users Mai
Darren Hall wrote:
> So essentially, I should download Log4J, include the jar in my classpath and
> create a "Log4J.xml" file. Correct?
>
Most people use the properties file, but the XML config gives you more
power. I've always handled XML config init programmatically; I don't
know if it works
---
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 1:31 PM
To: user@struts.apache.org
Subject: RE: [newb question] Turning on DEBUG level logging
Commons-logging is most often used as a wrapper around Log4J, but it can
wrap other logging frameworks, too. Ma
sers Mailing List'
> Subject: RE: [newb question] Turning on DEBUG level logging
>
>
> Thanks George.
>
> I looked at the link you provided and it seems to pertain to
> Log4J information. I just did a quick search and I don't see
> any Log4J files (either pro
y using commons-logging and I don't have Log4J
in place yet?)
Darren
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 11:38 AM
To: user@struts.apache.org
Subject: RE: [newb question] Turning on DEBUG level logging
Darren Hall aske
Darren Hall asked:
> Essentially I'm looking for a setting that I'm missing in
> some config file (possibly the web.xml file, or the
> struts-config.xml file).
It's missing from log4j.properties (or xml). See
http://idiacomputing.com/moin/Log4jDotProperties for some links. When
you find it in
Greetings all,
I'm attempting to configure Struts 1.2.9 with Tomcat 5.5. So far everything
is going smoothly and working fine - except:
I notice that Struts is using commons-logging, and the log statements are
writing to the "catalina.log " file. This is not the best case scenario, but
it is w
18 matches
Mail list logo