mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Add extra logging
This commit is contained in:
@@ -32,6 +32,8 @@ namespace Jackett.Server
|
|||||||
|
|
||||||
//Kicks off the update checker
|
//Kicks off the update checker
|
||||||
ServerService.Start();
|
ServerService.Start();
|
||||||
|
|
||||||
|
Logger.Debug("Helper initialization complete");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void RestartWebHost()
|
public static void RestartWebHost()
|
||||||
|
@@ -129,6 +129,7 @@ namespace Jackett.Server
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
logger.Debug("Creating web host...");
|
||||||
CreateWebHostBuilder(args, url).Build().Run();
|
CreateWebHostBuilder(args, url).Build().Run();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
@@ -89,6 +89,8 @@ namespace Jackett.Server
|
|||||||
IContainer container = builder.Build();
|
IContainer container = builder.Build();
|
||||||
Helper.ApplicationContainer = container;
|
Helper.ApplicationContainer = container;
|
||||||
|
|
||||||
|
Helper.Logger.Debug("Autofac container built");
|
||||||
|
|
||||||
Helper.Initialize();
|
Helper.Initialize();
|
||||||
|
|
||||||
return new AutofacServiceProvider(container);
|
return new AutofacServiceProvider(container);
|
||||||
|
Reference in New Issue
Block a user