aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logging.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/logging.js')
-rw-r--r--lib/logging.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/logging.js b/lib/logging.js
index 8d94f87..5c99ec2 100644
--- a/lib/logging.js
+++ b/lib/logging.js
@@ -1,5 +1,5 @@
/*
-Copyright(c) 2017-2018 AT&T Intellectual Property. All rights reserved.
+Copyright(c) 2017-2020 AT&T Intellectual Property. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -270,5 +270,6 @@ exports.getLogger = function() {
};
exports.setLevel = function(level) {
- log4js.setGlobalLogLevel(level);
+ level = (level || 'debug').toLowerCase();
+ debugLogger.level = level;
};