diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/chameleon_logback.xml | 10 | ||||
-rw-r--r-- | resources/log/ChameleonMsgs.properties | 10 |
2 files changed, 11 insertions, 9 deletions
diff --git a/resources/chameleon_logback.xml b/resources/chameleon_logback.xml index 5b723d7..b413012 100644 --- a/resources/chameleon_logback.xml +++ b/resources/chameleon_logback.xml @@ -1,5 +1,4 @@ <configuration scan="true" scanPeriod="3 seconds" debug="false"> - <!--<jmxConfigurator /> --> <!-- directory path for all other type logs --> <property name="logDir" value="/opt/chameleon/logs" /> @@ -13,7 +12,7 @@ <property name="auditLogName" value="audit" /> <property name="debugLogName" value="debug" /> - <property name="errorLogPattern" value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%mdc{RequestId}|%thread|DataRouter|%mdc{PartnerName}|%logger||%.-5level|%msg%n" /> + <property name="errorLogPattern" value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%mdc{RequestId}|%thread|CHAMELEON|%mdc{PartnerName}|%logger||%.-5level|%msg%n" /> <property name="auditMetricPattern" value="%msg%n" /> @@ -23,8 +22,7 @@ <!-- EELF Appenders --> <!-- ============================================================================ --> - <!-- The EELFAppender is used to record events to the general application - log --> + <!-- The EELFAppender is used to record events to the general application log --> <appender name="EELF" class="ch.qos.logback.core.rolling.RollingFileAppender"> @@ -55,7 +53,7 @@ related logging events. The audit logger and appender are specializations of the EELF application root logger and appender. This can be used to segregate Policy engine events from other components, or it can be eliminated to record - these events as part of the application root log. --> + these events as part of the application root log. --> <appender name="EELFAudit" class="ch.qos.logback.core.rolling.RollingFileAppender"> @@ -80,7 +78,7 @@ <!-- EELF loggers --> <!-- ============================================================================ --> - <!-- CRUD Service loggers --> + <!-- CHAMELEON Service loggers --> <logger name="chameleon" level="INFO"> <appender-ref ref="asyncEELF" /> </logger> diff --git a/resources/log/ChameleonMsgs.properties b/resources/log/ChameleonMsgs.properties index 4e61e2a..91995ea 100644 --- a/resources/log/ChameleonMsgs.properties +++ b/resources/log/ChameleonMsgs.properties @@ -8,12 +8,16 @@ Attempt Gallifrey Assertion of operation {0} with type {1} and key {2} \ GALLIFREY_ASSERTED=\ CHM0002I|\ -Asserted type {0} and key {1} in Gallifrey\ +Gallifrey Assertion "{0}" for type "{1}" and key "{2}"\ RESPONSE=\ CHM0003I|\ -Response for operation "{0}" for endpoint "{1}" resulted in status "{2}" with body "{3}"\ +Response for operation "{0}" for endpoint "{1}" resulted in status {2} ; {3}\ CHAMELEON_REQUEST=\ CHM0004I|\ -Incoming Request of type "{0}" for endpoint "{1}" from address "{2}"\
\ No newline at end of file +Incoming Request of type {0} for endpoint {1} from address {2}\ + +ERROR=\ +CHM0001E|\ +ERROR ENCOUNTERED Caused By: "{0}" with message: {1}\
\ No newline at end of file |