[logback-user] same layout - different results
Ralph Goers
rgoers at apache.org
Fri Sep 4 02:29:58 CEST 2009
I don't think this has anything to do with zOS but with the default
locale of the machines. It appears to me that the portion of the log
entry that has the "funny" text is the log message, which I'm guessing
is being dynamically constructed. Since you didn't provide the
relevant code though, it is impossible to know whether SLF4J is doing
the constructing or your application.
Although Java uses Unicode I don't know what you used to view the file
and then to paste it into the message. Many mainframe apps are tied to
specific code pages. So we would need a bit more information to help.
Also you should probably get the data from the source in a file and
send it around that way. That way it doesn't get mangled as it passes
from one locale to another.
Ralph
On Sep 3, 2009, at 1:47 PM, Rob Lister wrote:
> Hi Folks,
>
>
> Sending events to a zOS syslog via a fileappender;
>
>
> <!-- Appender for the FILEAPPENDER -->
>
> <appender name="FILEAPPENDER" class="org.apache.log4j.FileAppender">
>
> <param name="Append" value="true"/>
>
> <param name="File" value="/dev/console"/>
>
> <layout class="com.es.event.layout.JSFEventTextLay
>
> <param name="LayoutClass" value="org.apache.log4j.PatternLayout"/>
>
> <param name="LayoutParam1" value="%-5p %x - %m%n"/>
>
> </layout>
>
>
> <!-- The threshold parameter will limit the values handled by this
>
> appender -->
>
> <param name="Threshold" value="INFO"/>
>
> <filter class="com.es.event.filter.SystemEventFilter"/>
>
> <filter class="org.apache.log4j.varia.DenyAllFilter"/>
>
> </appender>
>
>
> On our system in US, I get;
>
> INFO - ACIJMX 6010 5 Output logged to console of Process RFSH:
>
>
> On clients site in Europe;
>
> INFO - ÝACIJMX¨ Ý6010¨ Ý5¨ Output logged to console of Process RFSH:
>
>
> Anyone hit this before on Z, or more specifically zOS /Unix System
> Services?
>
>
> Regards,
>
>
> Rob Lister
>
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20090903/94ec1a10/attachment.htm>
More information about the Logback-user
mailing list