25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031
  1. <configuration>
  2. <conversionRule conversionWord="coloredLevel" converterClass="play.api.libs.logback.ColoredLevel"/>
  3. <appender name="FILE" class="ch.qos.logback.core.FileAppender">
  4. <file>logs/application.log</file>
  5. <encoder>
  6. <pattern>%date [%level] from %logger in %thread - %message%n%xException</pattern>
  7. </encoder>
  8. </appender>
  9. <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
  10. <encoder>
  11. <pattern>%coloredLevel %logger{15} - [%X{akkaSource}] %message%n%xException{10}</pattern>
  12. </encoder>
  13. </appender>
  14. <logger name="play" level="INFO"/>
  15. <logger name="akka" level="INFO"/>
  16. <logger name="akka.stream.Log" level="INFO"/>
  17. <logger name="actors" level="INFO"/>
  18. <logger name="controllers" level="INFO"/>
  19. <root level="INFO">
  20. <appender-ref ref="STDOUT"/>
  21. <appender-ref ref="FILE"/>
  22. </root>
  23. </configuration>