MDL-49269 javascript: Set default loglevel to warn

This commit is contained in:
Andrew Nicols
2015-03-11 12:18:31 +08:00
parent 79565fa55a
commit cfb8019b67
+1
View File
@@ -1526,6 +1526,7 @@ class page_requirements_manager {
// Set the log level for the JS logging.
$logconfig = new stdClass();
$logconfig->level = 'warn';
if ($CFG->debugdeveloper) {
$logconfig->level = 'trace';
}