Subject: | Unsupported non-portable line separators? |
Date: | Tue, 29 Sep 2009 13:13:17 +0200 |
To: | "bug-Log-Log4perl [...] rt.cpan.org" <bug-Log-Log4perl [...] rt.cpan.org> |
From: | Zdeněk Juran <Zdenek.Juran [...] zoomint.com> |
Hello,
Log4* is the best logger platform. Many thanks for porting.
Will you support non-portable line separators?
The reason why I'm asking is that
we are working with log4j and log4cpp and from historic reasons we use \n instead of %n in the ConversionPattern attribute.
See the example:
########################################################
log4j.rootLogger=INFO, file
# file
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.MaxFileSize=250MB
log4j.appender.file.MaxBackupIndex=0
log4j.appender.file.File=/var/log/logfile.log
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{MMM dd HH:mm:ss} %-5p [%t] %c - %m\n
Best regards
Zdeněk Juran
ZOOM International
Phone: +420 222 554 161
Fax: +420 222 554 114
Mobile: +420 737 239 884
E-mail: zdenek.juran@zoomint.com<mailto:zdenek.juran@zoomint.com>
Internet: www.zoomint.com<http://www.zoomint.com/>
IP Solutions, pure and simple.
Message body is not shown because it is too large.