Permalink
Browse files

Change the name of the appender used by perf4j to prevent name collis…

…ions if there is another log4j.xml file used by the application

(cherry picked from commit 432b0a4)
  • Loading branch information...
1 parent 0e08f42 commit 848f3a00ed63e1d38223d52a278b01a2d89f2c32 @rantav rantav committed Mar 24, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/resources/hectorLog4j.xml
@@ -6,7 +6,7 @@
into GroupedTimingStatistics messages which it sends on the
file appender defined below
-->
- <appender name="CoalescingStatistics" class="org.perf4j.log4j.AsyncCoalescingStatisticsAppender">
+ <appender name="hector_CoalescingStatistics" class="org.perf4j.log4j.AsyncCoalescingStatisticsAppender">
<!--
The TimeSlice option is used to determine the time window for which
all received StopWatch logs are aggregated to create a single
@@ -47,7 +47,7 @@
-->
<logger name="org.perf4j.TimingLogger" additivity="false">
<level value="info"/>
- <appender-ref ref="CoalescingStatistics"/>
+ <appender-ref ref="hector_CoalescingStatistics"/>
</logger>
</log4j:configuration>

0 comments on commit 848f3a0

Please sign in to comment.