Explorar o código

Merge pull request #1803 from Bond-009/revision

Don't log revision number
Joshua M. Boniface %!s(int64=5) %!d(string=hai) anos
pai
achega
c1e8087b11
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Jellyfin.Server/Program.cs

+ 3 - 1
Jellyfin.Server/Program.cs

@@ -125,7 +125,9 @@ namespace Jellyfin.Server
                 Shutdown();
             };
 
-            _logger.LogInformation("Jellyfin version: {Version}", Assembly.GetEntryAssembly().GetName().Version);
+            _logger.LogInformation(
+                "Jellyfin version: {Version}",
+                Assembly.GetEntryAssembly().GetName().Version.ToString(3));
 
             ApplicationHost.LogEnvironmentInfo(_logger, appPaths);