You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2009/09/21 17:16:59 UTC
DO NOT REPLY [Bug 47883] New: Lines dropped with UseNewHashFunction
https://issues.apache.org/bugzilla/show_bug.cgi?id=47883
Summary: Lines dropped with UseNewHashFunction
Product: Log4j
Version: 1.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Appender
AssignedTo: log4j-dev@logging.apache.org
ReportedBy: odi@odi.ch
Apparently the -XX:+UseNewHashFunction HotSpot option somtimes causes lines to
be dropped by Log4J.
Config is basically:
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false">
<appender name="ALL" class="org.apache.log4j.RollingFileAppender">
<errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler" />
<param name="File" value="/home/app/log/server.log" />
<param name="Append" value="true" />
<param name="MaxFileSize" value="2MB" />
<param name="MaxBackupIndex" value="100" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %X{hostname} [%t]
%X{jms-type} %X{principal} %-5p %c - %m%n" />
</layout>
</appender>
<root>
<priority value="debug" />
<appender-ref ref="ALL" />
</root>
</log4j:configuration>
see http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
see API Doc (in src of) HashMap#useNewHash
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org