다음은 log4j 1.x에서 사용되는 샘플입니다. log4j2에서 같은 것을 변환하는 예제가 없습니다.log4j2에서 org.perf4j.log4j.AsyncCoalescingStatisticsAppender를 사용하는 방법은 무엇입니까?
<appender name="CoalescingStatisticsAppender"
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
GroupedTimingStatistics log. Here we set it to 10 seconds, overriding
the default of 30000 ms
-->
<param name="TimeSlice" value="30000" />
<appender-ref ref="perf4jFileAppender" />
</appender>
어떻게 작성할 수 있습니까? –