I have defined a small logback.xml file.
My application shows the messages of the logger TM although I don't have any information in the file concerning TM. I want to disable the TM messages, but they still appears in the console.
Console output:
2016-02-19 16:52:36.147 INFO 7943 --- [ rm003Main] TM : [1080] Op: HUM
2016-02-19 16:52:36.147 INFO 7943 --- [ rm003Main] las : [1346829894] Spent
2016-02-19 16:52:36.147 INFO 7943 --- [ rm003Main] TM : [1081] Op: HUM
2016-02-19 16:52:36.147 INFO 7943 --- [ rm003Main] las : [1346829894] Spent
logback.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/ethereum.log</file>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
</filter>
<append>true</append>
<encoder>
<pattern>%-5relative %-5level %logger{35} - %msg%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>logs/reporter-%d{yyyy-MM-dd_HH}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>50MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
</appender>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<logger level="WARN" name="wallet"/>
<encoder>
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{35} - %msg%n</pattern>
</encoder>
</appender>
</configuration>
If I add at the end of the .xlm the logger TM, then I could understand that the messages should be shown:
<logger level="WARN" name="TM"/>
<logger level="WARN" name="las"/>
</configuration>
Does anybody know what should be changed in the logback.xml in order to avoid the TM messages?
Thanks in advance S.