logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay <jvanderme...@comcast.net>
Subject [PATCH] charset support for SyslogAppender
Date Wed, 09 Jul 2003 23:58:05 GMT
I created the attached patches to allow for charset translation on the 
SyslogAppender.  When using log4j on a S390 system it will send all the 
datagrams in EBCDIC, instead of ASCII.  With the patch you can add an 
optional charset for example:

 log4j.appender.UnixSyslog.SyslogHost=myhost/US-ASCII

I was not sure if it was acceptable to share a property like this.  I started 
to make a charset property but it turned out to be more efficient to share 
SyslogHost, mostly due to the order objects seemed to be created.

Could this patch be added to a future release?

Thanks.

Jay van der Meer
Mime
View raw message