I have been using Log4J 1.2.15 with Sun Java 1.6.0 (all the way to the current 
release) on XP for a while now, probably a year, no problems to report.

Gary

> -----Original Message-----
> From: Lesley Tay [mailto:lesley....@macquarie.com]
> Sent: Tuesday, June 09, 2009 7:46 PM
> To: log4j-user@logging.apache.org
> Subject: log4j v1.2.14 compatible with Java 1.6?
> 
> Hi all,
> 
> Wondering if anyone has tried running log4j 1.2.14 using Java 1.6.0_11?
> Have you come across any weird issues?
> 
> By weird I mean null characters being printed out to the log at random
> times:
> 2009-06-02 08:55:13,475 server1 principal logging-text
> 2009-06-02 08:55:14,872 server1 principal logging-text
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^@
> ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
> 
> This application is running under Weblogic 10.3 using Java 1.6.0_11.
> The log files are being written out to an NFS filesystem mounted onto the
> servers that Weblogic runs on. Not sure if this makes a difference.
> 
> Our log4j.xml config for this particular log file looks like this:
> 
>     <appender name="LOGGING"
> class="org.apache.log4j.DailyRollingFileAppender">
>         <param name="File" value="${name}-${env}-logfile__HOSTNAME_.log"/>
>         <param name="Append" value="true"/>
> 
>         <!-- Rollover at midnight each day -->
>         <param name="DatePattern" value="'.'yyyy-MM-dd"/>
> 
>         <layout class="org.apache.log4j.PatternLayout">
>             <param name="ConversionPattern" value="%d{ISO8601}\t%m%n" />
>         </layout>
>     </appender>
> 
>     <appender name="LOGGING_ASYNC" class="org.apache.log4j.AsyncAppender">
>         <appender-ref ref="LOGGING"/>
>     </appender>
> 
>     <logger name="usage.logger" additivity="false">
>               <level value="info" />
>         <appender-ref ref="LOGGING_ASYNC"/>
>     </logger>
> 
> I can't remember whether someone has posted about this problem before. Any
> ideas?
> 
> 
> 
> 
> Thanks,
> Lesley Tay
> Macquarie Group Limited
> e:      lesley....@macquarie.com
> 
> 
> 
> NOTICE
> This e-mail and any attachments are confidential and may contain copyright
> material of Macquarie Group Limited or third parties. If you are not the
> intended recipient of this email you should not read, print, re-transmit,
> store or act in reliance on this e-mail or any attachments, and should
> destroy all copies of them. Macquarie Group Limited does not guarantee the
> integrity of any emails or any attached files. The views or opinions
> expressed are the author's own and may not reflect the views or opinions
> of Macquarie Group Limited.


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

Reply via email to