mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Updated log appearance.
This commit is contained in:
parent
fa0af257ff
commit
c9bc063a9c
11 changed files with 81 additions and 33 deletions
|
@ -97,7 +97,7 @@ namespace NzbDrone.Core
|
|||
{
|
||||
try
|
||||
{
|
||||
Logger.Info("Attaching to parent process for automatic termination.");
|
||||
Logger.Debug("Attaching to parent process for automatic termination.");
|
||||
var pc = new PerformanceCounter("Process", "Creating Process ID", Process.GetCurrentProcess().ProcessName);
|
||||
var pid = (int)pc.NextValue();
|
||||
var hostProcess = Process.GetProcessById(pid);
|
||||
|
@ -109,7 +109,7 @@ namespace NzbDrone.Core
|
|||
ShutDown();
|
||||
});
|
||||
|
||||
Logger.Info("Successfully Attached to host. Process ID: {0}", pid);
|
||||
Logger.Debug("Successfully Attached to host. Process ID: {0}", pid);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue