summaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/main/resources/logback-spring.xml
diff options
context:
space:
mode:
Diffstat (limited to 'prh-app-server/src/main/resources/logback-spring.xml')
-rw-r--r--prh-app-server/src/main/resources/logback-spring.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/prh-app-server/src/main/resources/logback-spring.xml b/prh-app-server/src/main/resources/logback-spring.xml
index 70908b07..03f4a103 100644
--- a/prh-app-server/src/main/resources/logback-spring.xml
+++ b/prh-app-server/src/main/resources/logback-spring.xml
@@ -47,4 +47,15 @@
<appender-ref ref="ROLLING-FILE"/>
</root>
</springProfile>
+
+ <springProfile name="dev">
+ <appender class="ch.qos.logback.core.ConsoleAppender" name="CONSOLE" target="SYSTEM_OUT">
+ <encoder>
+ <pattern>${CONSOLE_LOG_PATTERN}</pattern> <!-- from org/springframework/boot/logging/logback/defaults.xml -->
+ </encoder>
+ </appender>
+ <root level="INFO">
+ <appender-ref ref="CONSOLE"/>
+ </root>
+ </springProfile>
</configuration>