Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 848f3a00ed63e1d38223d52a278b01a2d89f2c32 1 parent 0e08f42
Ran Tavory authored March 24, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  src/main/resources/hectorLog4j.xml
4  src/main/resources/hectorLog4j.xml
@@ -6,7 +6,7 @@
6 6
       into GroupedTimingStatistics messages which it sends on the
7 7
       file appender defined below
8 8
     -->
9  
-    <appender name="CoalescingStatistics" class="org.perf4j.log4j.AsyncCoalescingStatisticsAppender">
  9
+    <appender name="hector_CoalescingStatistics" class="org.perf4j.log4j.AsyncCoalescingStatisticsAppender">
10 10
         <!--
11 11
           The TimeSlice option is used to determine the time window for which
12 12
           all received StopWatch logs are aggregated to create a single
@@ -47,7 +47,7 @@
47 47
     -->
48 48
     <logger name="org.perf4j.TimingLogger" additivity="false">
49 49
         <level value="info"/>
50  
-        <appender-ref ref="CoalescingStatistics"/>
  50
+        <appender-ref ref="hector_CoalescingStatistics"/>
51 51
     </logger>
52 52
 
53 53
 </log4j:configuration>

0 notes on commit 848f3a0

Please sign in to comment.
Something went wrong with that request. Please try again.