logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Michalopoulos" <gmichalopou...@d2hawkeye.com>
Subject RE: Quick question...
Date Fri, 24 Sep 2004 15:21:42 GMT
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:Yoav.Shapira@mpi.com] 
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:gmichalopoulos@d2hawkeye.com]
>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: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org




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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message