瀏覽代碼

Small cleanup and logging fix

Shadowghost 2 年之前
父節點
當前提交
2043a33f81
共有 2 個文件被更改,包括 1 次插入3 次删除
  1. 0 2
      Emby.Dlna/Main/DlnaEntryPoint.cs
  2. 1 1
      Jellyfin.Server/Program.cs

+ 0 - 2
Emby.Dlna/Main/DlnaEntryPoint.cs

@@ -3,10 +3,8 @@
 #pragma warning disable CS1591
 
 using System;
-using System.Collections.Generic;
 using System.Globalization;
 using System.Linq;
-using System.Net;
 using System.Net.Http;
 using System.Net.Sockets;
 using System.Threading.Tasks;

+ 1 - 1
Jellyfin.Server/Program.cs

@@ -302,7 +302,7 @@ namespace Jellyfin.Server
                     bool flagged = false;
                     foreach (IPData netAdd in addresses)
                     {
-                        _logger.LogInformation("Kestrel listening on {Address}", netAdd.Address == IPAddress.IPv6Any ? "All Addresses" : netAdd);
+                        _logger.LogInformation("Kestrel listening on {Address}", netAdd.Address == IPAddress.IPv6Any ? "All Addresses" : netAdd.Address);
                         options.Listen(netAdd.Address, appHost.HttpPort);
                         if (appHost.ListenWithHttps)
                         {