aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-02-25 17:22:21 +0100
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-02-25 17:22:21 +0100
commit192ec57b608a2cd1f8b337fb416b84abccd7a2a0 (patch)
treecfd32944344a676158302c1039ce374a6cfd9022
parentf3be93a4de86177d87a3be919b7aaa6e394b819d (diff)
Remove log message executed before logger is initialized
-rw-r--r--Emby.Server.Implementations/ConfigurationOptions.cs2
-rw-r--r--Jellyfin.Server/Program.cs2
2 files changed, 1 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/ConfigurationOptions.cs b/Emby.Server.Implementations/ConfigurationOptions.cs
index b733bd2d5..456484813 100644
--- a/Emby.Server.Implementations/ConfigurationOptions.cs
+++ b/Emby.Server.Implementations/ConfigurationOptions.cs
@@ -9,7 +9,7 @@ namespace Emby.Server.Implementations
public static class ConfigurationOptions
{
/// <summary>
- /// Gets the default configuration options.
+ /// Gets a new copy of the default configuration options.
/// </summary>
public static Dictionary<string, string> DefaultConfiguration => new Dictionary<string, string>
{
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 8c133576c..c4e3cd726 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -392,7 +392,6 @@ namespace Jellyfin.Server
// ELSE IF $JELLYFIN_WEB_DIR
// ELSE <bindir>/jellyfin-web
var webDir = options.WebDir;
-
if (string.IsNullOrEmpty(webDir))
{
webDir = Environment.GetEnvironmentVariable("JELLYFIN_WEB_DIR");
@@ -407,7 +406,6 @@ namespace Jellyfin.Server
// Reset webDir if the directory does not exist, or is empty
if (!Directory.Exists(webDir) || !Directory.GetFiles(webDir).Any())
{
- _logger.LogInformation("Server will not host static content because the web content directory does not exist or is empty: {ContentRoot}", webDir);
webDir = null;
}