diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2020-08-28 00:40:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-28 00:40:49 +0000 |
commit | 5a0e4f27bc4c813f17015e39c8b3f4168ffbfc7a (patch) | |
tree | c7153ba078b4812af4a26a71a828e3444de729d9 /datafile-app-server/src/main/resources/logback-spring.xml | |
parent | 08721f247a647b7f5c24eb0db4b74f64939c9c39 (diff) | |
parent | 3b6c2739505c097f3ea32475ebd3db41bbaae7ef (diff) |
Merge "Update dcae SDK from 1.1.6 to 1.4.2"1.4.3
Diffstat (limited to 'datafile-app-server/src/main/resources/logback-spring.xml')
-rw-r--r-- | datafile-app-server/src/main/resources/logback-spring.xml | 67 |
1 files changed, 23 insertions, 44 deletions
diff --git a/datafile-app-server/src/main/resources/logback-spring.xml b/datafile-app-server/src/main/resources/logback-spring.xml index 1b9818d5..89405f2f 100644 --- a/datafile-app-server/src/main/resources/logback-spring.xml +++ b/datafile-app-server/src/main/resources/logback-spring.xml @@ -16,49 +16,28 @@ |%thread |%n"/> - <springProfile name="dev"> - <appender name="CONSOLE" target="SYSTEM_OUT" class="ch.qos.logback.core.ConsoleAppender"> - <encoder> - <pattern>${defaultPattern}</pattern> - </encoder> - </appender> + <appender name="CONSOLE" target="SYSTEM_OUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>${defaultPattern}</pattern> + </encoder> + </appender> - <appender name="ROLLING-FILE" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <encoder> - <pattern>${defaultPattern}</pattern> - </encoder> - <file>${logPath}/${outputFilename}.log</file> - <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> - <fileNamePattern>${outputFilename}.%d{yyyy-MM-dd}.%i.log</fileNamePattern> - <MaxFileSize>${maxFileSize}</MaxFileSize> - <MaxHistory>${maxHistory}</MaxHistory> - <TotalSizeCap>${totalSizeCap}</TotalSizeCap> - </rollingPolicy> - </appender> - <root level="ERROR"> - <appender-ref ref="CONSOLE"/> - <appender-ref ref="ROLLING-FILE"/> - </root> - </springProfile> + <appender name="ROLLING-FILE" + class="ch.qos.logback.core.rolling.RollingFileAppender"> + <encoder> + <pattern>${defaultPattern}</pattern> + </encoder> + <file>${logPath}/${outputFilename}.log</file> + <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> + <fileNamePattern>${outputFilename}.%d{yyyy-MM-dd}.%i.log</fileNamePattern> + <MaxFileSize>${maxFileSize}</MaxFileSize> + <MaxHistory>${maxHistory}</MaxHistory> + <TotalSizeCap>${totalSizeCap}</TotalSizeCap> + </rollingPolicy> + </appender> + <root level="ERROR"> + <appender-ref ref="CONSOLE"/> + <appender-ref ref="ROLLING-FILE"/> + </root> - <springProfile name="prod"> - <appender name="ROLLING-FILE" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <encoder> - <pattern>${defaultPattern}</pattern> - </encoder> - <file>${logPath}/${outputFilename}.log</file> - <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> - <fileNamePattern>${outputFilename}.%d{yyyy-MM-dd}.%i.gz</fileNamePattern> - <MaxFileSize>${maxFileSize}</MaxFileSize> - <MaxHistory>${maxHistory}</MaxHistory> - <TotalSizeCap>${totalSizeCap}</TotalSizeCap> - </rollingPolicy> - </appender> - - <root level="ERROR"> - <appender-ref ref="ROLLING-FILE"/> - </root> - </springProfile> -</configuration>
\ No newline at end of file +</configuration> |