diff options
author | 2020-02-21 14:46:06 +0800 | |
---|---|---|
committer | 2020-02-21 15:23:56 +0000 | |
commit | b695649e124bf3ec0f87a3cf3dfaa4a60ef4131b (patch) | |
tree | 29216b25b1a5490e1a5c64e287b3e37d35dbf117 /eelf-logger/eelf-logger-logback-impl | |
parent | 40ffc89f78576dc2f7da221c7f1ce7ba5e8f4112 (diff) |
logfile to add debug.log
Issue-ID: DCAEGEN2-2077
Signed-off-by: Kai Lu <lukai@chinamobile.com>
Change-Id: Iecfc328d09f40adf0364c3df0efb3de3d2cf2db5
Diffstat (limited to 'eelf-logger/eelf-logger-logback-impl')
-rw-r--r-- | eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-defaults.xml | 2 | ||||
-rw-r--r-- | eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-logback.xml | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-defaults.xml b/eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-defaults.xml index f9bb078..9c4a2cf 100644 --- a/eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-defaults.xml +++ b/eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-defaults.xml @@ -25,7 +25,7 @@ <!-- SETUP LOG DIRECTORIES --> <property scope="context" name="logDirectory" value="${logDir}/${componentName}"/> - <property scope="context" name="debugLogDirectory" value="${debugDir}/${componentName}"/> + <property scope="context" name="debugLogDirectory" value="${logDir}/${componentName}"/> <!-- MODIFY LOG DIR ON WINDOWS OS SO THAT TEST LOGS ARE UNDER TARGET DIR CAN BE CLEANED AFTER TESTS AUTOMATICALLY diff --git a/eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-logback.xml b/eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-logback.xml index 7e08eb2..91589fc 100644 --- a/eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-logback.xml +++ b/eelf-logger/eelf-logger-logback-impl/src/main/resources/eelf-logback.xml @@ -28,7 +28,7 @@ <include resource="eelf-required-appenders.xml"/> <!-- ADD OPTIONAL APPENDERS: NOT ADDED BY DEFAULT --> - <!--<include resource="eelf-optional-appenders.xml"/>--> + <include resource="eelf-optional-appenders.xml"/> <root level="DEBUG"> @@ -36,10 +36,8 @@ <appender-ref ref="auditLogAppender"/> <appender-ref ref="metricLogAppender"/> <appender-ref ref="errorLogAppender"/> - - <!-- optional appenders: not added by default --> - <!--<appender-ref ref="debugLogAppender"/>--> - <!--<appender-ref ref="STDOUT"/>--> + <appender-ref ref="debugLogAppender"/> + <appender-ref ref="STDOUT"/> </root> </included> |