diff --git a/LightlessSyncServer/LightlessSyncAuthService/Services/GeoIPService.cs b/LightlessSyncServer/LightlessSyncAuthService/Services/GeoIPService.cs index 1ae5ef9..f08892e 100644 --- a/LightlessSyncServer/LightlessSyncAuthService/Services/GeoIPService.cs +++ b/LightlessSyncServer/LightlessSyncAuthService/Services/GeoIPService.cs @@ -1,12 +1,8 @@ using LightlessSyncAuthService.Utils; -using LightlessSyncShared; using LightlessSyncShared.Services; using LightlessSyncShared.Utils.Configuration; using MaxMind.GeoIP2; -using MaxMind.GeoIP2.Model; -using Microsoft.AspNetCore.Http; using System.Net; -using System.Security.Claims; namespace LightlessSyncAuthService.Services; @@ -166,9 +162,9 @@ public class GeoIPService : IHostedService if (_dbReader!.TryCity(ip, out var response)) { - _logger.LogInformation(ip.ToString()); - _logger.LogInformation(response?.Country?.ToString()); - _logger.LogInformation(response?.Country?.IsoCode); + _logger.LogWarning(ip.ToString()); + _logger.LogWarning(response?.Country?.ToString()); + _logger.LogWarning(response?.Country?.IsoCode); var country = response?.Country?.IsoCode; return !string.IsNullOrEmpty(country) ? country : "*"; diff --git a/LightlessSyncServer/LightlessSyncServer/Hubs/LightlessHub.cs b/LightlessSyncServer/LightlessSyncServer/Hubs/LightlessHub.cs index 01a09c3..b366bf2 100644 --- a/LightlessSyncServer/LightlessSyncServer/Hubs/LightlessHub.cs +++ b/LightlessSyncServer/LightlessSyncServer/Hubs/LightlessHub.cs @@ -16,7 +16,6 @@ using Microsoft.AspNetCore.SignalR; using Microsoft.EntityFrameworkCore; using StackExchange.Redis.Extensions.Core.Abstractions; using System.Collections.Concurrent; -using System.Threading; namespace LightlessSyncServer.Hubs;