-<?xml version="1.0" encoding="UTF-8"?>\r
-<!--\r
-/*\r
- * ============LICENSE_START========================================================================\r
- * ONAP : tr-069-adapter\r
- * =================================================================================================\r
- * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
- * =================================================================================================\r
- * This tr-069-adapter software file is distributed by CommScope Inc\r
- * under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * This file is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ===============LICENSE_END=======================================================================\r
-*/\r
--->\r
-\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * ============LICENSE_START========================================================================
+ * ONAP : tr-069-adapter
+ * =================================================================================================
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.
+ * =================================================================================================
+ * This tr-069-adapter software file is distributed by CommScope Inc
+ * under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ===============LICENSE_END=======================================================================
+*/
+-->
+
<Configuration status="DEBUG" monitorInterval="30">\r
- <Properties>\r
- <Property name="LOG_PATTERN">%d{yyyy-MM-dd HH:mm:ss} %m%n</Property>\r
- <Property name="APP_LOG_ROOT">/logs</Property>\r
- <Property name="LOG_FILE_NAME">configurationServiceLogs</Property>\r
- </Properties>\r
- <Appenders>\r
- <Console name="console" target="SYSTEM_OUT" follow="true">\r
- <PatternLayout pattern="${LOG_PATTERN}" />\r
- </Console>\r
+ <Properties>\r
+ <Property name="LOG_PATTERN">%d{yyyy-MM-dd HH:mm:ss} %m%n</Property>\r
+ <Property name="APP_LOG_ROOT">/logs</Property>\r
+ <Property name="LOG_FILE_NAME">configurationServiceLogs</Property>\r
+ </Properties>\r
+ <Appenders>\r
+ <Console name="console" target="SYSTEM_OUT" follow="true">\r
+ <PatternLayout pattern="${LOG_PATTERN}" />\r
+ </Console>\r
\r
- <RollingFile name="applicationLog"\r
- fileName="${APP_LOG_ROOT}/debug/${LOG_FILE_NAME}-debug.log"\r
- filePattern="${APP_LOG_ROOT}/debug/${LOG_FILE_NAME}-debug-%d{yyyy-MM-dd}-%i.log">\r
- <PatternLayout>\r
- <pattern>[%d{yyyy-MM-dd HH:mm:ss:SSS}] [%X{client}] [%.-40t]\r
- %-25.45c{1} %-5p: %m%n</pattern>\r
- <header>Debug Log started at: $${date:yyyy-MM-dd HH:mm:ss}</header>\r
- </PatternLayout>\r
- <Policies>\r
- <SizeBasedTriggeringPolicy size="4MB" />\r
- <TimeBasedTriggeringPolicy interval="1"\r
- modulate="true" />\r
- </Policies>\r
- <DefaultRolloverStrategy>\r
- <Delete basePath="${APP_LOG_ROOT}/debug/" maxDepth="1">\r
- <IfFileName glob="application-debug*.log" />\r
- <IfAccumulatedFileCount exceeds="10" />\r
- </Delete>\r
- </DefaultRolloverStrategy>\r
- </RollingFile>\r
+ <RollingFile name="applicationLog"\r
+ fileName="${APP_LOG_ROOT}/debug/${LOG_FILE_NAME}-debug.log"\r
+ filePattern="${APP_LOG_ROOT}/debug/${LOG_FILE_NAME}-debug-%d{yyyy-MM-dd}-%i.log">\r
+ <PatternLayout>\r
+ <pattern>[%d{yyyy-MM-dd HH:mm:ss:SSS}] [%X{client}] [%.-40t]\r
+ %-25.45c{1} %-5p: %m%n</pattern>\r
+ <header>Debug Log started at: $${date:yyyy-MM-dd HH:mm:ss}</header>\r
+ </PatternLayout>\r
+ <Policies>\r
+ <SizeBasedTriggeringPolicy size="4MB" />\r
+ <TimeBasedTriggeringPolicy interval="1"\r
+ modulate="true" />\r
+ </Policies>\r
+ <DefaultRolloverStrategy>\r
+ <Delete basePath="${APP_LOG_ROOT}/debug/" maxDepth="1">\r
+ <IfFileName glob="application-debug*.log" />\r
+ <IfAccumulatedFileCount exceeds="10" />\r
+ </Delete>\r
+ </DefaultRolloverStrategy>\r
+ </RollingFile>\r
\r
- <RollingFile name="springLog"\r
- fileName="${APP_LOG_ROOT}/debug/spring-framework.log" filePattern="${APP_LOG_ROOT}/debug/spring-%d{yyyy-MM-dd}-%i.log">\r
- <PatternLayout pattern="${LOG_PATTERN}" />\r
- <Policies>\r
- <SizeBasedTriggeringPolicy size="4MB" />\r
- <TimeBasedTriggeringPolicy interval="1"\r
- modulate="true" />\r
- </Policies>\r
- <DefaultRolloverStrategy>\r
- <Delete basePath="${APP_LOG_ROOT}/debug/" maxDepth="1">\r
- <IfFileName glob="spring*.log" />\r
- <IfAccumulatedFileCount exceeds="10" />\r
- </Delete>\r
- </DefaultRolloverStrategy>\r
- </RollingFile>\r
+ <RollingFile name="springLog"\r
+ fileName="${APP_LOG_ROOT}/debug/spring-framework.log" filePattern="${APP_LOG_ROOT}/debug/spring-%d{yyyy-MM-dd}-%i.log">\r
+ <PatternLayout pattern="${LOG_PATTERN}" />\r
+ <Policies>\r
+ <SizeBasedTriggeringPolicy size="4MB" />\r
+ <TimeBasedTriggeringPolicy interval="1"\r
+ modulate="true" />\r
+ </Policies>\r
+ <DefaultRolloverStrategy>\r
+ <Delete basePath="${APP_LOG_ROOT}/debug/" maxDepth="1">\r
+ <IfFileName glob="spring*.log" />\r
+ <IfAccumulatedFileCount exceeds="10" />\r
+ </Delete>\r
+ </DefaultRolloverStrategy>\r
+ </RollingFile>\r
\r
- <RollingFile name="hibernateLog" fileName="${APP_LOG_ROOT}/debug/database.log"\r
- filePattern="${APP_LOG_ROOT}/debug/database-%d{yyyy-MM-dd}-%i.log">\r
- <PatternLayout pattern="${LOG_PATTERN}" />\r
- <Policies>\r
- <SizeBasedTriggeringPolicy size="4MB" />\r
- <TimeBasedTriggeringPolicy interval="1"\r
- modulate="true" />\r
- </Policies>\r
- <DefaultRolloverStrategy>\r
- <Delete basePath="${APP_LOG_ROOT}/debug/" maxDepth="1">\r
- <IfFileName glob="application-debug*.log" />\r
- <IfAccumulatedFileCount exceeds="10" />\r
- </Delete>\r
- </DefaultRolloverStrategy>\r
- </RollingFile>\r
+ <RollingFile name="hibernateLog" fileName="${APP_LOG_ROOT}/debug/database.log"\r
+ filePattern="${APP_LOG_ROOT}/debug/database-%d{yyyy-MM-dd}-%i.log">\r
+ <PatternLayout pattern="${LOG_PATTERN}" />\r
+ <Policies>\r
+ <SizeBasedTriggeringPolicy size="4MB" />\r
+ <TimeBasedTriggeringPolicy interval="1"\r
+ modulate="true" />\r
+ </Policies>\r
+ <DefaultRolloverStrategy>\r
+ <Delete basePath="${APP_LOG_ROOT}/debug/" maxDepth="1">\r
+ <IfFileName glob="application-debug*.log" />\r
+ <IfAccumulatedFileCount exceeds="10" />\r
+ </Delete>\r
+ </DefaultRolloverStrategy>\r
+ </RollingFile>\r
\r
- </Appenders>\r
+ </Appenders>\r
\r
- <Loggers>\r
- <Logger name="org.commscope.tr069adapter.config" level="debug"\r
- additivity="false">\r
- <appender-ref ref="console" />\r
- <appender-ref ref="applicationLog" />\r
- </Logger>\r
+ <Loggers>\r
+ <Logger name="org.commscope.tr069adapter.config" level="debug"\r
+ additivity="false">\r
+ <appender-ref ref="console" />\r
+ <appender-ref ref="applicationLog" />\r
+ </Logger>\r
\r
- <Logger name="org.springframework" level="error" additivity="false">\r
- <appender-ref ref="console" />\r
- <AppenderRef ref="springLog" />\r
- </Logger>\r
+ <Logger name="org.springframework" level="error" additivity="false">\r
+ <appender-ref ref="console" />\r
+ <AppenderRef ref="springLog" />\r
+ </Logger>\r
\r
- <Logger name="org.hibernate" level="error" additivity="false">\r
- <appender-ref ref="console" />\r
- <AppenderRef ref="hibernateLog" />\r
- </Logger>\r
+ <Logger name="org.hibernate" level="error" additivity="false">\r
+ <appender-ref ref="console" />\r
+ <AppenderRef ref="hibernateLog" />\r
+ </Logger>\r
\r
- <Root level="DEBUG" additivity="false" />\r
- </Loggers>\r
-</Configuration>\r
+ <Root level="DEBUG" additivity="false" />\r
+ </Loggers>\r
+</Configuration>