summaryrefslogtreecommitdiffstats
path: root/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml
diff options
context:
space:
mode:
authorArthur Martella <arthur.martella.1@att.com>2019-03-15 12:28:33 -0400
committerArthur Martella <arthur.martella.1@att.com>2019-03-15 12:28:33 -0400
commit6b7d6f0b3ebe74ddb93bcbf44e3853e0027be0be (patch)
tree16ef5382c3470255842068fefcc216f9abae3b62 /valetapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml
parent45d1330477382bed46418936e89c0ce0e6f9dcc8 (diff)
Initial upload of F-GPS seed code 12/21
Includes: API helm chart API dockerfile Change-Id: Ic04ceb43be33055eb6e76d086bef9ce18a629c72 Issue-ID: OPTFRA-440 Signed-off-by: arthur.martella.1@att.com
Diffstat (limited to 'valetapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml')
-rwxr-xr-xvaletapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml
new file mode 100755
index 0000000..71f466f
--- /dev/null
+++ b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <appender name="FILE-AUDIT"
+ class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>/api/valet/debug123.log</file>
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <Pattern>
+ %d{yyyy-MM-dd HH:mm:ss} - %msg%n
+ </Pattern>
+ </encoder>
+
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- rollover daily -->
+ <fileNamePattern>/api/valet/archived/api123.%d{yyyy-MM-dd}.%i.log
+ </fileNamePattern>
+ <timeBasedFileNamingAndTriggeringPolicy
+ class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
+ <maxFileSize>10MB</maxFileSize>
+ </timeBasedFileNamingAndTriggeringPolicy>
+ </rollingPolicy>
+ </appender>
+ <logger name="com.valet" level="info" additivity="false">
+ <appender-ref ref="FILE-AUDIT" />
+ </logger>
+ <root level="INFO">
+ <appender-ref ref="FILE-AUDIT" />
+ </root>
+</configuration>