Log is now configured earlier in the life cycle.

Glimpse now listens to all IP addresses
This commit is contained in:
kay.one 2011-05-17 19:53:31 -07:00
commit 30d8da3ce8
5 changed files with 5 additions and 4 deletions

View file

@ -108,6 +108,8 @@ namespace NzbDrone.Core
InSingletonScope();
_kernel.Bind<IRepository>().ToConstant(logRepository).WhenInjectedInto<LogProvider>().InSingletonScope();
LogConfiguration.Setup();
ForceMigration(_kernel.Get<IRepository>());
SetupDefaultQualityProfiles(_kernel.Get<IRepository>()); //Setup the default QualityProfiles on start-up
@ -154,6 +156,7 @@ namespace NzbDrone.Core
repository.All<EpisodeFile>().Count();
repository.All<QualityProfile>().Count();
repository.All<History>().Count();
repository.All<IndexerSetting>().Count();
}
/// <summary>