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:
> 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 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 enable this one.
>
>
> # Root Logger: LEVEL, appenders
> log4j.rootLogger=DEBUG, RollingAppender
> #
> #######################################################
> # Console appender - Usefull for development
> #######################################################
> log4j.appender.console=org.apache.log4j.ConsoleAppender
> log4j.appender.console.layout=org.apache.log4j.PatternLayout
> log4j.appender.console.layout.ConversionPattern=%X{LOG_TRAIL_TRACE}%5p
> [%d{ISO8601}] %X{USER_TRACE}(%F:%L) - %m%n
> #
> #######################################################
> # Standard appender
> #######################################################
> log4j.appender.RollingAppender=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.RollingAppender.File=C:/DEV_NITIN/applog/testprj.log
> log4j.appender.RollingAppender.layout=org.apache.log4j.PatternLayout
> log4j.appender.RollingAppender.layout.ConversionPattern=%X{LOG_TRAIL_TRACE}%5p
> [%d{ISO8601}] %X{USER_TRACE}(%F:%L) - %m%n
> log4j.appender.RollingAppender.DatePattern='.'yyyy-MM-dd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> __________________________________
>
> Confidentiality Statement:
> This email/fax, including attachments, may include confidential and/or 
> proprietary information and may be used only by the person or entity to which 
> it is addressed. If the reader of this email/fax is not the intended 
> recipient or his or her agent, the reader is hereby notified that any 
> dissemination, distribution or copying of this email/fax is prohibited. If 
> you have received this email/fax in error, please notify the sender by 
> replying to this message and deleting this email or destroying this facsimile 
> immediately.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to