mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 13:57:14 -04:00
Fix a logging statement
This commit is contained in:
parent
040871459b
commit
6cc1bd544a
@ -12,6 +12,7 @@ using MediaBrowser.Model.Services;
|
|||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Http.Extensions;
|
using Microsoft.AspNetCore.Http.Extensions;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
using Microsoft.Net.Http.Headers;
|
||||||
|
|
||||||
namespace Emby.Server.Implementations.SocketSharp
|
namespace Emby.Server.Implementations.SocketSharp
|
||||||
{
|
{
|
||||||
@ -39,7 +40,7 @@ using Microsoft.Extensions.Logging;
|
|||||||
{
|
{
|
||||||
var url = request.GetDisplayUrl();
|
var url = request.GetDisplayUrl();
|
||||||
|
|
||||||
logger.LogInformation("{0} {1}. UserAgent: {2}", "WS", url, request.Headers["User-Agent"].ToString());
|
logger.LogInformation("WS {Url}. UserAgent: {UserAgent}", url, request.Headers[HeaderNames.UserAgent].ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task ProcessWebSocketRequest(HttpContext ctx)
|
public async Task ProcessWebSocketRequest(HttpContext ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user