The Free Software Media System - Server Backend & API
Make log entry informational
Joshua M. Boniface6e1d1eed2344
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.csindex 46fa29919a..cd40bda556 100644--- a/Emby.Server.Implementations/Session/SessionManager.cs+++ b/Emby.Server.Implementations/Session/SessionManager.cs@@ -1486,7 +1486,7 @@ namespace Emby.Server.Implementations.Sessionvar sessionsCount = Sessions.Where(i => string.Equals(i.UserId, user.Id)).ToList().Count;int maxActiveSessions = user.MaxActiveSessions;- _logger.LogDebug("Current/Max sessions for user {User}: {Sessions}/{Max}", user.Username, sessionsCount, maxActiveSessions);+ _logger.LogInformation("Current/Max sessions for user {User}: {Sessions}/{Max}", user.Username, sessionsCount, maxActiveSessions);if (maxActiveSessions >= 0 && sessionsCount >= maxActiveSessions){throw new SecurityException("User is at their maximum number of sessions.");