parent
7cbb1d3359
commit
5718bcb3f9
|
@ -278,7 +278,7 @@ The process of redirecting the log to a text file is as simple as :
|
||||||
<appender name="YOUR_APPENDER_NAME" class="ch.qos.logback.core.FileAppender">
|
<appender name="YOUR_APPENDER_NAME" class="ch.qos.logback.core.FileAppender">
|
||||||
<file>relative/path/to/file.log</file>
|
<file>relative/path/to/file.log</file>
|
||||||
<encoder>
|
<encoder>
|
||||||
<!--Pick up a pattern that will log the information taht you will need -->
|
<!--Pick up a pattern that will log the information that you will need -->
|
||||||
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] [%-30.30logger{36}:%-5line] - %msg%ex{10}%n</pattern>
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] [%-30.30logger{36}:%-5line] - %msg%ex{10}%n</pattern>
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
Loading…
Reference in New Issue