mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Switch to %X{var} syntax instead of $${ctx:var}
This commit is contained in:
@@ -28,8 +28,10 @@
|
||||
fileName='${log.dir}/dspace.log'
|
||||
|
||||
>
|
||||
<!-- NOTE: The %equals patterns are providing a default value of "unknown" if "correlationID" or
|
||||
"requestID" are not currently set in the ThreadContext. -->
|
||||
<Layout type='PatternLayout'
|
||||
pattern='%d %-5p $$$${ctx:correlationID:-unknown} $$$${ctx:requestID:-unknown} %c @ %m%n'/>
|
||||
pattern='%d %-5p %equals{%X{correlationID}}{}{unknown} %equals{%X{requestID}}{}{unknown} %c @ %m%n'/>
|
||||
<policies>
|
||||
<policy type='TimeBasedTriggeringPolicy'>yyyy-MM-dd</policy>
|
||||
<!-- Sample deletion policy: keep last 30 archived files
|
||||
|
Reference in New Issue
Block a user