diff options
author | Gilding, Joyce (jg640n) <Joyce.Gilding@amdocs.com> | 2018-01-29 15:00:04 +0000 |
---|---|---|
committer | Gilding, Joyce (jg640n) <Joyce.Gilding@amdocs.com> | 2018-01-30 10:24:18 +0000 |
commit | 4150ee34ae503c83734aca7e62ca9911b354c881 (patch) | |
tree | 6598a1d16483eb480664b8862c86ba801af6d661 /event-client-dmaap/src/main/resources/logback.xml | |
parent | 4e6e8b2714f3e5fe6d6dc064d9d73275c5ee5437 (diff) |
Initial code submit for Event Bus Client library
Change-Id: If0ff82c669872c734ebe0c72bc022beb96c53d11
Issue-ID: AAI-700
Signed-off-by: Gilding, Joyce (jg640n) <Joyce.Gilding@amdocs.com>
Diffstat (limited to 'event-client-dmaap/src/main/resources/logback.xml')
-rw-r--r-- | event-client-dmaap/src/main/resources/logback.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/event-client-dmaap/src/main/resources/logback.xml b/event-client-dmaap/src/main/resources/logback.xml new file mode 100644 index 0000000..5e5234c --- /dev/null +++ b/event-client-dmaap/src/main/resources/logback.xml @@ -0,0 +1,27 @@ +<configuration> + <property name="logDirectory" value="logs/" /> + + <appender name="event-bus-client" class="ch.qos.logback.core.rolling.RollingFileAppender"> + <File>${logDirectory}/application.log</File> + <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> + <fileNamePattern>${logDirectory}/application.log.%d{yyyy-MM-dd}</fileNamePattern> + </rollingPolicy> + <encoder> + <pattern>%d %-5level %logger{36} - %msg%n</pattern> + </encoder> + </appender> + + <logger name="com.att.eelf" level="INFO" additivity="false"> + <appender-ref ref="event-bus-client"/> + </logger> + + <!-- DEBUG < INFO < WARN < ERROR --> + <logger name="event-bus-client" level="INFO" additivity="false"> + <appender-ref ref="event-bus-client"/> + </logger> + + <root level="INFO"> + <appender-ref ref="event-bus-client"/> + </root> + +</configuration>
\ No newline at end of file |