The only bit i was missing was the threshold on the appenders.
log4j.rootLogger=ERROR, R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=${catalina.home}/logs/root.log
log4j.appender.R.MaxFileSize=128MB
log4j.appender.R.MaxBackupIndex=5
log4j.appender.R.layout=org.apac
On Aug 1, 2007, at 5:16 PM, Walter Holladay wrote:
Hi,
I work on a large project that has lots of logging information
being written
to the log file. I want to narrow what logging data I see to only
those
messages logged by my team mates. The way I would like to do this
is by
having a fil
Sending logs from only certain loggers to an appender is one of the
most common ways to use log4j.
On 8/1/07, Walter Holladay <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I work on a large project that has lots of logging information being written
> to the log file. I want to narrow what logging data I se
Hi,
I have setup the same kind of thing at work but don't have access to
the files at the moment.
>From memory the following will log all error and above messages to
root.log. And all messages from the org.springframework and
com.another.package packages go to spring.log.
log4j.rootLogger=ERROR,
Hi,
I work on a large project that has lots of logging information being written
to the log file. I want to narrow what logging data I see to only those
messages logged by my team mates. The way I would like to do this is by
having a filter that will only pass through messages logged from a given