This repository has been archived by the owner on Oct 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7070e5b
commit 3058e64
Showing
4 changed files
with
36 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,27 @@ | ||
<configuration debug="false"> | ||
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | ||
<file>xmltvtomxf.log</file> | ||
<encoder> | ||
<pattern>%date %level [%thread] %C{16}:%line - %m%n</pattern> | ||
</encoder> | ||
<param name="Append" value="false"/> | ||
</appender> | ||
<root level="INFO"> | ||
<appender-ref ref="FILE" /> | ||
</root> | ||
<statusListener class="ch.qos.logback.core.status.NopStatusListener" /> | ||
<if condition='Boolean.parseBoolean(property("debug.logging"))'> | ||
<then> | ||
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | ||
<file>xmltvtomxf.log</file> | ||
<encoder> | ||
<pattern>%date %level [%thread] %C{16}:%line - %m%n</pattern> | ||
</encoder> | ||
<param name="Append" value="false"/> | ||
</appender> | ||
<root level="OFF"> | ||
<appender-ref ref="FILE"/> | ||
</root> | ||
</then> | ||
<else> | ||
<appender name="CON" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%date %level - %m%n</pattern> | ||
</encoder> | ||
</appender> | ||
<root level="INFO"> | ||
<appender-ref ref="CON"/> | ||
</root> | ||
</else> | ||
</if> | ||
</configuration> |