mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 09:22:55 +08:00
#17621: Adding time back to log file name to avoid filename conflicts with multiple threads while avoiding locking contention.
--HG-- branch : 1.x
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
<staticLogFileName value="false" />
|
||||
<rollingStyle value="Date" />
|
||||
<rollingStyleFrequency value="Once" />
|
||||
<datepattern value="-yyyy.MM.dd'.log'" />
|
||||
<datepattern value="-yyyy.MM.dd-hh_mm_ss.fff'.log'" />
|
||||
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %logger - %message%newline" />
|
||||
@@ -73,7 +73,7 @@
|
||||
<staticLogFileName value="false" />
|
||||
<rollingStyle value="Date" />
|
||||
<rollingStyleFrequency value="Once" />
|
||||
<datepattern value="-yyyy.MM.dd'.log'" />
|
||||
<datepattern value="-yyyy.MM.dd-hh_mm_ss.fff'.log'" />
|
||||
|
||||
<filter type="log4net.Filter.LevelRangeFilter">
|
||||
<!-- only error and fatal messages end up in this target, even if child loggers accept lower priority -->
|
||||
|
||||
Reference in New Issue
Block a user