https://issues.apache.org/bugzilla/show_bug.cgi?id=50614

--- Comment #4 from Amr ElAdawy <amr.elad...@etisalat.com> ---
(In reply to siva from comment #3)

> 1. Could you please let me know the procedure to disable the console
> appender?. 
> 2. Also could you also explain in steps as to how the log format is
> simplified?

Those are log4j.properties questions however I am very glad to answer. This is
an example on configuration file (please note that you should remove the
"stdout" from the first line


log4j.rootLogger=debug, R, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] [%t] [%-5p]  - [%m]%n

#--- syncronized logging
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=pbt.log
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=[%d] [%t] [%-5p]  - [%m]%n






Now, you may share your file so we can look at it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to