Skip to content

Commit

Permalink
console appender added to logback
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Aug 10, 2017
1 parent e63f1b2 commit 346b46d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gui/admin-gui/src/main/resources/logback.xml
Expand Up @@ -16,6 +16,13 @@
-->

<configuration>

<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%date [%X{subsystem}] [%thread] %level \(%logger\): %msg%n</pattern>
</layout>
</appender>

<appender name="IDM_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<!--See http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
<!--and http://logback.qos.ch/manual/appenders.html#TimeBasedRollingPolicy-->
Expand Down Expand Up @@ -64,8 +71,10 @@
<logger name="com.evolveum.midpoint.web.util.MidPointProfilingServletFilter" level="TRACE">
<appender-ref ref="IDM-PROFILE_LOG"/>
</logger>

<root level="WARN">
<appender-ref ref="IDM_LOG"/>
<appender-ref ref="CONSOLE"/>
</root>
</configuration>

Expand Down

0 comments on commit 346b46d

Please sign in to comment.