diff --git a/ansible/roles/cortex/templates/logback.xml.j2 b/ansible/roles/cortex/templates/logback.xml.j2 index 9f2fb67..3ae9747 100644 --- a/ansible/roles/cortex/templates/logback.xml.j2 +++ b/ansible/roles/cortex/templates/logback.xml.j2 @@ -2,43 +2,38 @@ + converterClass="play.api.libs.logback.ColoredLevel" /> - + {{ cortex_logs_path }}/application.log - - {{ cortex_logs_path }}/application.%i.log.zip - 1 - 10 - - - 10MB - - %date [%level] from %logger in %thread [%X{request}|%X{tx}] %message%n%xException + %date [%level] from %logger in %thread - %message%n%xException - %coloredLevel %logger{15} [%X{request}|%X{tx}] %message%n%xException{10} + %coloredLevel %logger{15} - %message%n%xException{10} - + - + - + + + + - - + +