|  | @@ -1,6 +1,7 @@
 | 
	
		
			
				|  |  |  using System;
 | 
	
		
			
				|  |  |  using System.Collections.Generic;
 | 
	
		
			
				|  |  |  using System.Diagnostics;
 | 
	
		
			
				|  |  | +using System.Globalization;
 | 
	
		
			
				|  |  |  using System.IO;
 | 
	
		
			
				|  |  |  using System.Linq;
 | 
	
		
			
				|  |  |  using System.Net;
 | 
	
	
		
			
				|  | @@ -612,11 +613,14 @@ namespace Jellyfin.Server
 | 
	
		
			
				|  |  |              catch (Exception ex)
 | 
	
		
			
				|  |  |              {
 | 
	
		
			
				|  |  |                  Log.Logger = new LoggerConfiguration()
 | 
	
		
			
				|  |  | -                    .WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss}] [{Level:u3}] [{ThreadId}] {SourceContext}: {Message:lj}{NewLine}{Exception}")
 | 
	
		
			
				|  |  | +                    .WriteTo.Console(
 | 
	
		
			
				|  |  | +                        outputTemplate: "[{Timestamp:HH:mm:ss}] [{Level:u3}] [{ThreadId}] {SourceContext}: {Message:lj}{NewLine}{Exception}",
 | 
	
		
			
				|  |  | +                        formatProvider: CultureInfo.InvariantCulture)
 | 
	
		
			
				|  |  |                      .WriteTo.Async(x => x.File(
 | 
	
		
			
				|  |  |                          Path.Combine(appPaths.LogDirectoryPath, "log_.log"),
 | 
	
		
			
				|  |  |                          rollingInterval: RollingInterval.Day,
 | 
	
		
			
				|  |  |                          outputTemplate: "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] [{ThreadId}] {SourceContext}: {Message}{NewLine}{Exception}",
 | 
	
		
			
				|  |  | +                        formatProvider: CultureInfo.InvariantCulture,
 | 
	
		
			
				|  |  |                          encoding: Encoding.UTF8))
 | 
	
		
			
				|  |  |                      .Enrich.FromLogContext()
 | 
	
		
			
				|  |  |                      .Enrich.WithThreadId()
 |