mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
wiredup db logging.
This commit is contained in:
parent
1016edb05b
commit
af4063c3e2
6 changed files with 31 additions and 6 deletions
|
@ -7,6 +7,7 @@ using NzbDrone.Api.Extensions;
|
|||
using NzbDrone.Api.Frontend;
|
||||
using NzbDrone.Common.Composition;
|
||||
using NzbDrone.Common.Messaging;
|
||||
using NzbDrone.Core.Instrumentation;
|
||||
using NzbDrone.Core.Lifecycle;
|
||||
using TinyIoC;
|
||||
|
||||
|
@ -29,6 +30,8 @@ namespace NzbDrone.Api
|
|||
_logger.Info("Starting NzbDrone API");
|
||||
AutomapperBootstraper.InitializeAutomapper();
|
||||
|
||||
container.Resolve<DatabaseTarget>().Register();
|
||||
|
||||
container.Resolve<IMessageAggregator>().PublishEvent(new ApplicationStartedEvent());
|
||||
|
||||
ApplicationPipelines.OnError.AddItemToEndOfPipeline(container.Resolve<NzbDroneErrorPipeline>().HandleException);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue