diff --git a/Jellyfin.Data/Entities/ActivityLog.cs b/Jellyfin.Data/Entities/ActivityLog.cs
index 620e82830..e2d5c7187 100644
--- a/Jellyfin.Data/Entities/ActivityLog.cs
+++ b/Jellyfin.Data/Entities/ActivityLog.cs
@@ -18,7 +18,8 @@ namespace Jellyfin.Data.Entities
/// The name.
/// The type.
/// The user id.
- public ActivityLog(string name, string type, Guid userId)
+ /// The log level.
+ public ActivityLog(string name, string type, Guid userId, LogLevel logLevel = LogLevel.Information)
{
if (string.IsNullOrEmpty(name))
{
@@ -34,7 +35,7 @@ namespace Jellyfin.Data.Entities
Type = type;
UserId = userId;
DateCreated = DateTime.UtcNow;
- LogSeverity = LogLevel.Trace;
+ LogSeverity = logLevel;
}
///