diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-09-25 14:22:16 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-09-25 14:22:16 -0500 |
| commit | dc251687151e30756d0a8159e3afa0e203900d4e (patch) | |
| tree | 1103897194b9137237fde6e2b80112693eaa7455 | |
| parent | 374df66d4cc4f9f55a2a0a3e69b50260525060ce (diff) | |
| download | slskd-dc251687151e30756d0a8159e3afa0e203900d4e.tar.gz | |
print system info at startup
| -rw-r--r-- | src/slskd/Program.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 94624115..03870f0a 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -340,8 +340,10 @@ namespace slskd Log.Warning($"Please report any issues here: {IssuesUrl}"); } + Log.Information("System: .NET {DotNet}, {OS}, {BitNess} bit, {ProcessorCount} processors", Environment.Version, Environment.OSVersion, Environment.Is64BitOperatingSystem ? 64 : 32, Environment.ProcessorCount); + Log.Information("Process ID: {ProcessId} ({BitNess} bit)", ProcessId, Environment.Is64BitProcess ? 64 : 32); + Log.Information("Invocation ID: {InvocationId}", InvocationId); - Log.Information("Process ID: {ProcessId}", ProcessId); Log.Information("Instance Name: {InstanceName}", OptionsAtStartup.InstanceName); // SQLite must have specific capabilities to function properly. this shouldn't be a concern for shrinkwrapped |
