diff --git a/src/controllers/logpage.js b/src/controllers/logpage.js index 77274c62b7..f5866f344c 100644 --- a/src/controllers/logpage.js +++ b/src/controllers/logpage.js @@ -1,13 +1,6 @@ define(["datetime", "loading", "apphost", "listViewStyle", "emby-button", "flexStyles"], function(datetime, loading, appHost) { "use strict"; return function(view, params) { - view.querySelector("#chkDebugLog").addEventListener("change", function() { - ApiClient.getServerConfiguration().then(function(config) { - config.EnableDebugLevelLogging = view.querySelector("#chkDebugLog").checked; - ApiClient.updateServerConfiguration(config); - }) - }); - view.addEventListener("viewbeforeshow", function() { loading.show(); var apiClient = ApiClient; @@ -35,10 +28,6 @@ define(["datetime", "loading", "apphost", "listViewStyle", "emby-button", "flexS view.querySelector(".serverLogs").innerHTML = html; loading.hide(); }); - - apiClient.getServerConfiguration().then(function(config) { - view.querySelector("#chkDebugLog").checked = config.EnableDebugLevelLogging; - }); }); } }); \ No newline at end of file diff --git a/src/log.html b/src/log.html index 7e76ea3c58..dd98b0d333 100644 --- a/src/log.html +++ b/src/log.html @@ -1,20 +1,7 @@