aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Session/SessionManager.cs
diff options
context:
space:
mode:
authorherby2212 <12448284+herby2212@users.noreply.github.com>2023-10-07 20:52:16 +0200
committerherby2212 <12448284+herby2212@users.noreply.github.com>2023-10-07 20:52:16 +0200
commit56aa37a314df17ba7608d7d9d00925f9e4816a89 (patch)
tree0e7f3aabf7bba89cf0f03f8a90d9845c5db510fd /Emby.Server.Implementations/Session/SessionManager.cs
parentace89e45976a65a365a3d9d7a2ed737a61d584d4 (diff)
Switch to named placeholders
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
-rw-r--r--Emby.Server.Implementations/Session/SessionManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs
index 14a62626c..a6155aa62 100644
--- a/Emby.Server.Implementations/Session/SessionManager.cs
+++ b/Emby.Server.Implementations/Session/SessionManager.cs
@@ -667,7 +667,7 @@ namespace Emby.Server.Implementations.Session
foreach (var session in inactiveSessions)
{
- _logger.LogDebug("Session {0} has been inactive for {1} minutes. Stopping it.", session.Id, _config.Configuration.InactiveSessionThreshold);
+ _logger.LogDebug("Session {Session} has been inactive for {InactiveTime} minutes. Stopping it.", session.Id, _config.Configuration.InactiveSessionThreshold);
try
{
@@ -684,7 +684,7 @@ namespace Emby.Server.Implementations.Session
}
catch (Exception ex)
{
- _logger.LogDebug(ex, "Error calling SendPlaystateCommand for stopping inactive session {0}.", session.Id);
+ _logger.LogDebug(ex, "Error calling SendPlaystateCommand for stopping inactive session {Session}.", session.Id);
}
}
}