mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Merge pull request #5898 from kumards/dev
Fixing threading issue in OrchardLog4netLogger
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Orchard.Logging {
|
|||||||
Logger = logger;
|
Logger = logger;
|
||||||
Factory = factory;
|
Factory = factory;
|
||||||
|
|
||||||
_shellSettings = new Lazy<ShellSettings>(LoadSettings);
|
_shellSettings = new Lazy<ShellSettings>(LoadSettings, System.Threading.LazyThreadSafetyMode.PublicationOnly);
|
||||||
}
|
}
|
||||||
|
|
||||||
internal OrchardLog4netLogger() {
|
internal OrchardLog4netLogger() {
|
||||||
|
Reference in New Issue
Block a user