You might want to look at how the latest MailReader application
handles logging.
* http://tinyurl.com/7jhxo
Look for the "log." statements.
Unfortunately, it's not being included in a nightly build right now,
so the only other way to view the source is through a Subversion
checkout.
* file:///e
Hi All
What is a the best(easy) method to implement logging for struts for struts.
How do you differntiate logging messages that come from..
1. JSP Pages
2. Java Classes
Please let me know.
I want to implement something which I can run in debug mode to figure out
wher
; Sent: Wednesday, November 23, 2005 6:31 AM
> To: user@struts.apache.org
> Subject: How to stop struts logging in my web application
>
> Hello Strust Users
>
> In Strus webapplication when i set log4.properties file with below option
> It logs also strus log which is c
add this line below the rootLogger line:
log4j.category.org.apache=OFF
-Original Message-
From: nitin mandolkar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 23, 2005 6:31 AM
To: user@struts.apache.org
Subject: How to stop struts logging in my web application
Hello Strust Users
Mailing List
Subject: Re: How to stop struts logging in my web application
Hi
I added this enrty in log4.properties files looks like it is helping me.
log4j.logger.org.apache=INFO
Can you please explain this one. What actullay it is doing. it is like
we can set the log level by package level or
Hi
I added this enrty in log4.properties files looks like it is helping me.
log4j.logger.org.apache=INFO
Can you please explain this one. What actullay it is doing. it is like
we can set the log level by package level or class level also.
On 11/23/05, Gary Feidt <[EMAIL PROTECTED]> wrote:
> D
Did you try Categroy Configurations such as:
# Category Configurations
log4j.logger.jsp=DEBUG
log4j.logger.com.cmpyname.appname=DEBUG
>>> [EMAIL PROTECTED] 11/23/2005 6:30:53 AM >>>
Hello Strust Users
In Strus webapplication when i set log4.properties file with below
option
It logs also strus l
use a category to limit the DEBUGs from e.g. struts
xml-example:
-Opprinnelig melding-
Fra: nitin mandolkar [mailto:[EMAIL PROTECTED]
Sendt: 23. november 2005 13:31
Til: user@struts.apache.org
Emne: How to stop struts logging in my web application
Hello Strust
Hello Strust Users
In Strus webapplication when i set log4.properties file with below option
It logs also strus log which is creating the very big log file. I want
log only my webapplication log statement rather than strust.
Is there any property i have to set in log file where i can disabble
or
At 9:49 AM -0600 2/9/05, Karan wrote:
Any help is greatly appreciated.
I suggest starting by specifying the "log4j.debug" system property
when you launch startup. You can often find out exactly what's going
wrong with that.
Joe
--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germusk
ender.hib2.ImmediateFlush=true
log4j.appender.hib2.Append=false
log4j.appender.hib2.layout=org.apache.log4j.HTMLLayout
log4j.appender.hib2.layout.LocationInfo=true
log4j.appender.hib2.layout.Title='Hibernate' Log
## STRUTS LOGGING
###
11 matches
Mail list logo