You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Rakesh Patel <Ra...@sharepeople.com> on 2005/10/19 15:43:41 UTC

Log4j stopped working

Hi all,

Decided to rebuild my log4j configuration settings from scratch and now
its stopped working altogether!

I took an example property file from the official manual and am running
against alpha 6.

log4j.rootLogger=debug, stdout, R

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=example.log

log4j.appender.R.MaxFileSize=100KB
# Keep one backup file
log4j.appender.R.MaxBackupIndex=1

log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n


Any ideas?

Rakesh


American Express Investments and American Express Independent Financial Advisers are marketing names for American Express Financial Services Europe Limited, a separate corporation within the American Express group of companies.  American Express Financial Services Europe Limited is authorised and regulated by, and is entered into the register (No. 190853 www.fsa.gov.uk/register/) of, the Financial Services Authority and a member of the London Stock Exchange. Registered in England No. 3614902. Registered address: 230 Blackfriars Road, London SE1 8NW. Vat No. 740 4143 68. 

The information in this email and any attachments is confidential and intended solely for the attention and use of the named addressee(s). It may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority.  If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it, and should notify us immediately.


Re: Log4j stopped working

Posted by Jacob Kjome <ho...@visi.com>.
Either build from source or wait for the next release.  The development
direction for Log4j-1.3 had been to accept incompatibilities between 1.2.xx and
1.3.  That changed since alpha6 and a lot was done to make it generally
compatible with 1.2.xx.  alpha7 should be out in the not to distant future,
although I'm not 100% sure when.  I suggest just building from source or using
1.2.12 until 1.3 stabilizes.

Jake

Quoting Rakesh Patel <Ra...@sharepeople.com>:

> Hi all,
>
> Decided to rebuild my log4j configuration settings from scratch and now
> its stopped working altogether!
>
> I took an example property file from the official manual and am running
> against alpha 6.
>
> log4j.rootLogger=debug, stdout, R
>
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
>
> # Pattern to output the caller's file name and line number.
> log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
>
> log4j.appender.R=org.apache.log4j.RollingFileAppender
> log4j.appender.R.File=example.log
>
> log4j.appender.R.MaxFileSize=100KB
> # Keep one backup file
> log4j.appender.R.MaxBackupIndex=1
>
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
>
>
> Any ideas?
>
> Rakesh
>
>
> American Express Investments and American Express Independent Financial
> Advisers are marketing names for American Express Financial Services Europe
> Limited, a separate corporation within the American Express group of
> companies.  American Express Financial Services Europe Limited is authorised
> and regulated by, and is entered into the register (No. 190853
> www.fsa.gov.uk/register/) of, the Financial Services Authority and a member
> of the London Stock Exchange. Registered in England No. 3614902. Registered
> address: 230 Blackfriars Road, London SE1 8NW. Vat No. 740 4143 68.
>
> The information in this email and any attachments is confidential and
> intended solely for the attention and use of the named addressee(s). It may
> be subject to legal, professional or other privilege and further distribution
> of it is strictly prohibited without our authority.  If you are not the
> intended recipient, you are not authorised to and must not disclose, copy,
> distribute, or retain this message or any part of it, and should notify us
> immediately.
>
>




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