diff options
author | grabinsk <maciej.grabinski@nokia.com> | 2019-05-31 13:00:54 +0200 |
---|---|---|
committer | grabinsk <maciej.grabinski@nokia.com> | 2019-05-31 13:00:54 +0200 |
commit | 4fba32ec50d81f3cfa860e95357732722c08ae26 (patch) | |
tree | a1b6b0f5ff4ce2db1f8b5c5fb020ac4f62536620 /prh-app-server/src/main/resources/logback-spring.xml | |
parent | dc791333f7820e2e826bf06a60af00b796a7c498 (diff) |
Adding 'dev' profile with default spring's logback console appender to allow starting app from IDE
Change-Id: If59c8678f0fb323b3201eb4f52926e2f2baa3e67
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
Diffstat (limited to 'prh-app-server/src/main/resources/logback-spring.xml')
-rw-r--r-- | prh-app-server/src/main/resources/logback-spring.xml | 11 |
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> |