Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- <configuration>
-
- <conversionRule conversionWord="coloredLevel" converterClass="play.api.libs.logback.ColoredLevel"/>
-
- <appender name="FILE" class="ch.qos.logback.core.FileAppender">
- <file>logs/application.log</file>
- <encoder>
- <pattern>%date [%level] from %logger in %thread - %message%n%xException</pattern>
- </encoder>
- </appender>
-
- <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <pattern>%coloredLevel %logger{15} - [%X{akkaSource}] %message%n%xException{10}</pattern>
- </encoder>
- </appender>
-
- <logger name="play" level="INFO"/>
-
- <logger name="akka" level="INFO"/>
- <logger name="akka.stream.Log" level="INFO"/>
-
- <logger name="actors" level="INFO"/>
- <logger name="controllers" level="INFO"/>
-
- <root level="INFO">
- <appender-ref ref="STDOUT"/>
- <appender-ref ref="FILE"/>
- </root>
-
- </configuration>
|