-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
3 changed files
with
40 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration scan="true"> | ||
<!-- You can configure per-logger level at this point --> | ||
<!-- This set of preconfigured loggers is good if you want to have a DEBUG level as baseline --> | ||
<logger name="io.netty" level="INFO"/> | ||
<logger name="reactor" level="INFO"/> | ||
<logger name="com.github.langebangen.kensa" level="DEBUG"/> | ||
|
||
<!-- Display the logs in your console with the following format --> | ||
<!-- You can learn more about this here: https://logback.qos.ch/manual/layouts.html#ClassicPatternLayout --> | ||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<!-- Log to a file as well, including size and time based rolling --> | ||
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> | ||
<fileNamePattern>kensa.%d{yyyy-MM-dd}.%i.log</fileNamePattern> | ||
<maxFileSize>100MB</maxFileSize> | ||
<maxHistory>90</maxHistory> | ||
</rollingPolicy> | ||
<encoder> | ||
<charset>UTF-8</charset> | ||
<Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %-40.40logger{39} : %msg%n</Pattern> | ||
</encoder> | ||
<prudent>true</prudent> | ||
</appender> | ||
|
||
<!-- Here you can set the base logger level. If DEBUG is too chatty for you, you can use INFO --> | ||
<!-- Possible options are: ALL, TRACE, DEBUG, INFO, WARN, ERROR, OFF --> | ||
<root level="DEBUG"> | ||
<appender-ref ref="CONSOLE"/> | ||
<appender-ref ref="FILE"/> | ||
</root> | ||
</configuration> |
This file was deleted.
Oops, something went wrong.