Config is this (not BasicConfigurator.configure)
_________________________________________________
log4j.logger.UserEntry=info,uentry

### User Entry Log
log4j.appender.uentry=org.apache.log4j.DailyRollingFileAppender
log4j.appender.uentry.File=/WEB-INF/log/user_entry.log
log4j.appender.uentry.DatePattern=yyyy-MM-dd'.txt'
#log4j.appender.uentry.AlwaysDated=true
#log4j.appender.uentry.MaxBackupIndex=1
log4j.appender.uentry.layout=org.apache.log4j.PatternLayout
log4j.appender.uentry.layout.ConversionPattern=UserEntry[%p]-%m%n
__________________________________________________



-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 24, 2004 9:34 AM
To: Log4J Users List
Subject: RE: Quick question...


Hi,
How are you configuring log4j?  Using BasicConfigurator.configure adds a
console appender.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Greg Michalopoulos [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 24, 2004 9:36 AM
>To: 'Log4J Users List'
>Subject: Quick question...
>
>I am using Jrun4 with log4j and I have enabled some logging to a text
file,
>but the entries also get outputted to the console.  Is there any config
so
>that I can turn off the output to the console - while still logging to
the
>file?
>
>Thanks,
>Greg
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
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