Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Dokuka <[email protected]>
  • Loading branch information
OlegDokuka committed Feb 12, 2024
1 parent eb6eb2b commit 43c9a4d
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions rsocket-transport-netty/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@
</encoder>
</appender>

<timestamp key="bySecond" datePattern="yyyyMMdd'T'HHmmss"/>

<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<!-- use the previously created timestamp to create a uniquely
named log file -->
<file>log-${bySecond}.txt</file>
<encoder>
<pattern>%date{HH:mm:ss.SSS} %-10thread %-42logger %msg%n</pattern>
</encoder>
</appender>

<appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="FILE" />
</appender>
<!-- <timestamp key="bySecond" datePattern="yyyyMMdd'T'HHmmss"/>-->
<!---->
<!-- <appender name="FILE" class="ch.qos.logback.core.FileAppender">-->
<!-- &lt;!&ndash; use the previously created timestamp to create a uniquely-->
<!-- named log file &ndash;&gt;-->
<!-- <file>log-${bySecond}.txt</file>-->
<!-- <encoder>-->
<!-- <pattern>%date{HH:mm:ss.SSS} %-10thread %-42logger %msg%n</pattern>-->
<!-- </encoder>-->
<!-- </appender>-->

<!-- <appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">-->
<!-- <appender-ref ref="FILE" />-->
<!-- </appender>-->

<logger name="io.rsocket.transport.netty" level="INFO"/>
<logger name="io.rsocket.FrameLogger" level="DEBUG" additivity="false">
<appender-ref ref="ASYNC" />
</logger>
<!-- <logger name="io.rsocket.FrameLogger" level="DEBUG" additivity="false">-->
<!-- <appender-ref ref="ASYNC" />-->
<!-- </logger>-->
<logger name="io.rsocket.fragmentation.FragmentationDuplexConnection" level="INFO"/>
<logger name="io.rsocket.core.RSocketRequester" level="DEBUG"/>
<logger name="io.rsocket.core.RSocketResponder" level="DEBUG"/>
Expand All @@ -53,7 +53,7 @@

<root level="DEBUG">
<appender-ref ref="STDOUT"/>
<appender-ref ref="ASYNC"/>
<!-- <appender-ref ref="ASYNC"/>-->
</root>

</configuration>

0 comments on commit 43c9a4d

Please sign in to comment.