aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNyanmisaka <nst799610810@gmail.com>2020-07-25 01:50:18 +0800
committerGitHub <noreply@github.com>2020-07-25 01:50:18 +0800
commita78c8e38544a974f07c6efce1af4e7fbef83b2be (patch)
tree8f2f4ba3bdb1d6453a7bd7be7a5c80975f6d86cd
parentc888b34a6219be0c06331e568d66a8fdf17bceaa (diff)
change loglevels
-rw-r--r--MediaBrowser.Api/Subtitles/SubtitleService.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Subtitles/SubtitleService.cs b/MediaBrowser.Api/Subtitles/SubtitleService.cs
index 198e45948..b06ffd185 100644
--- a/MediaBrowser.Api/Subtitles/SubtitleService.cs
+++ b/MediaBrowser.Api/Subtitles/SubtitleService.cs
@@ -325,18 +325,18 @@ namespace MediaBrowser.Api.Subtitles
if (fileSize != null && fileSize > 0)
{
- Logger.LogInformation("Fallback font size is {0} Bytes", fileSize);
+ Logger.LogDebug("Fallback font size is {0} Bytes", fileSize);
if (fileSize <= maxSize)
{
return await ResultFactory.GetStaticFileResult(Request, fontFile.FullName);
}
- Logger.LogInformation("The selected font is too large. Maximum allowed size is 10 Megabytes");
+ Logger.LogWarning("The selected font is too large. Maximum allowed size is 10 Megabytes");
}
else
{
- Logger.LogInformation("The selected font is null or empty");
+ Logger.LogWarning("The selected font is null or empty");
}
}
catch (Exception ex)
@@ -346,7 +346,7 @@ namespace MediaBrowser.Api.Subtitles
}
else
{
- Logger.LogInformation("The path of fallback font has not been set");
+ Logger.LogWarning("The path of fallback font has not been set");
}
return string.Empty;