diff options
author | su622b <sunil.unnava@att.com> | 2018-03-22 17:39:23 -0400 |
---|---|---|
committer | su622b <sunil.unnava@att.com> | 2018-03-22 17:40:50 -0400 |
commit | 6c881fc1fbc617c368f17044419e4fc0ae59c5e7 (patch) | |
tree | 4ac6ff4b59111dc56f441823f5aa575da4f8bdfa /ajsc-shared-config | |
parent | 4eb8f3f52093960a6a62c6c07409e8d26fd5f276 (diff) |
changes for docker deployment
Issue-ID: DMAAP-338
Change-Id: I328cd941e493fa151383b12e008a1d220a242345
Signed-off-by: su622b <sunil.unnava@att.com>
Diffstat (limited to 'ajsc-shared-config')
-rw-r--r-- | ajsc-shared-config/etc/logback.xml | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/ajsc-shared-config/etc/logback.xml b/ajsc-shared-config/etc/logback.xml index 56a9590..6f90ce1 100644 --- a/ajsc-shared-config/etc/logback.xml +++ b/ajsc-shared-config/etc/logback.xml @@ -38,13 +38,13 @@ </appender> <appender name="INFO" - class="ch.qos.logback.core.rolling.RollingFileAppender"> + class="ch.qos.logback.core.ConsoleAppender"> <filter class="ch.qos.logback.classic.filter.LevelFilter"> <level>INFO</level> <onMatch>ACCEPT</onMatch> <onMismatch>DENY</onMismatch> </filter> - <file>${logDirectory}/Info.log</file> + <!-- <file>${logDirectory}/Info.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern>${logDirectory}/Info-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip </fileNamePattern> @@ -57,12 +57,12 @@ </triggeringPolicy> <encoder> <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> - </encoder> + </encoder> --> </appender> - <!--<appender name="DEBUG" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <filter class="ch.qos.logback.classic.filter.LevelFilter"> + <appender name="DEBUG" + class="ch.qos.logback.core.ConsoleAppender"> + <!-- <filter class="ch.qos.logback.classic.filter.LevelFilter"> <level>DEBUG</level> <onMatch>ACCEPT</onMatch> <onMismatch>DENY</onMismatch> @@ -77,21 +77,21 @@ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>500MB</maxFileSize> - </triggeringPolicy> + </triggeringPolicy> --> <encoder> <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> </encoder> - </appender> --> + </appender> <appender name="ERROR" - class="ch.qos.logback.core.rolling.RollingFileAppender"> + class="ch.qos.logback.core.ConsoleAppender"> <filter class="ch.qos.logback.classic.filter.LevelFilter"> <level>ERROR</level> <onMatch>ACCEPT</onMatch> <onMismatch>DENY</onMismatch> </filter> - <file>${logDirectory}/Error.log</file> - <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> + <!--<file>${logDirectory}/Error.log</file> + <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern>${logDirectory}/Error-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip </fileNamePattern> <minIndex>1</minIndex> @@ -100,7 +100,7 @@ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>500MB</maxFileSize> - </triggeringPolicy> + </triggeringPolicy> --> <encoder> <!-- <pattern>"%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n"</pattern> --> <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> @@ -209,10 +209,10 @@ <!-- logback jms appenders & loggers definition starts here --> <!-- logback jms appenders & loggers definition starts here --> <appender name="auditLogs" - class="ch.qos.logback.core.rolling.RollingFileAppender"> + class="ch.qos.logback.core.ConsoleAppender"> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> </filter> - <file>${logDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.log</file> + <!-- <file>${logDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern>${logDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip </fileNamePattern> @@ -222,16 +222,16 @@ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>500MB</maxFileSize> - </triggeringPolicy> + </triggeringPolicy> --> <encoder> <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> </encoder> </appender> <appender name="perfLogs" - class="ch.qos.logback.core.rolling.RollingFileAppender"> + class="ch.qos.logback.core.ConsoleAppender"> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> </filter> - <file>${logDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.log</file> + <!-- <file>${logDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern>${logDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.%i.log.zip </fileNamePattern> @@ -241,7 +241,7 @@ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>500MB</maxFileSize> - </triggeringPolicy> + </triggeringPolicy> --> <encoder> <pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern> </encoder> @@ -289,12 +289,10 @@ </appender> <logger name="AuditRecord" level="INFO" additivity="FALSE"> - <appender-ref ref="ASYNC-audit" /> - <appender-ref ref="auditLogs" /> + <appender-ref ref="STDOUT" /> </logger> <logger name="AuditRecord_DirectCall" level="INFO" additivity="FALSE"> - <appender-ref ref="ASYNC-audit" /> - <appender-ref ref="auditLogs" /> + <appender-ref ref="STDOUT" /> </logger> <appender name="ASYNC-perf" class="ch.qos.logback.classic.AsyncAppender"> <queueSize>1000</queueSize> |