diff options
| author | Fernando Fernández <ferferga@hotmail.com> | 2021-09-06 20:41:37 +0200 |
|---|---|---|
| committer | Fernando Fernández <ferferga@hotmail.com> | 2021-09-06 21:15:31 +0200 |
| commit | c2652d21e1da0c39e91b8a5dea21c4de1fea3f9d (patch) | |
| tree | c8be1375f3a3451f218aa9d182390c05d4d25257 /Jellyfin.Server/CoreAppHost.cs | |
| parent | 3d0b1ccae661704371041aadafc9816a223b1ea0 (diff) | |
Log EFCore migrations
Diffstat (limited to 'Jellyfin.Server/CoreAppHost.cs')
| -rw-r--r-- | Jellyfin.Server/CoreAppHost.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Server/CoreAppHost.cs b/Jellyfin.Server/CoreAppHost.cs index d41b5f74e..60275c918 100644 --- a/Jellyfin.Server/CoreAppHost.cs +++ b/Jellyfin.Server/CoreAppHost.cs @@ -78,7 +78,8 @@ namespace Jellyfin.Server } ServiceCollection.AddDbContextPool<JellyfinDb>( - options => options.UseSqlite($"Filename={Path.Combine(ApplicationPaths.DataPath, "jellyfin.db")}")); + options => options.UseLoggerFactory(LoggerFactory). + UseSqlite($"Filename={Path.Combine(ApplicationPaths.DataPath, "jellyfin.db")}")); ServiceCollection.AddEventServices(); ServiceCollection.AddSingleton<IBaseItemManager, BaseItemManager>(); |
