aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Kernel/BaseKernel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/Kernel/BaseKernel.cs')
-rw-r--r--MediaBrowser.Common/Kernel/BaseKernel.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Common/Kernel/BaseKernel.cs b/MediaBrowser.Common/Kernel/BaseKernel.cs
index 95e6d05d6..088acbedd 100644
--- a/MediaBrowser.Common/Kernel/BaseKernel.cs
+++ b/MediaBrowser.Common/Kernel/BaseKernel.cs
@@ -441,7 +441,7 @@ namespace MediaBrowser.Common.Kernel
AddLogTarget(logFile, "ApplicationLogFile");
- Logging.Logger.LoggerInstance = Logging.LogManager.GetLogger("Global");
+ Logging.Logger.LoggerInstance = Logging.LogManager.GetLogger("App");
OnLoggerLoaded();
}
@@ -484,6 +484,7 @@ namespace MediaBrowser.Common.Kernel
CompositionContainer = MefUtils.GetSafeCompositionContainer(Assemblies.Select(i => new AssemblyCatalog(i)));
CompositionContainer.ComposeExportedValue("kernel", this);
+ CompositionContainer.ComposeExportedValue("logger", Logging.LogManager.GetLogger("App"));
CompositionContainer.ComposeParts(this);