We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 408c24d + bf4c877 commit aa9d446Copy full SHA for aa9d446
src/agent/agent_cli.js
@@ -23,8 +23,14 @@ const os_utils = require('../util/os_utils');
23
const Semaphore = require('../util/semaphore');
24
const json_utils = require('../util/json_utils');
25
const addr_utils = require('../util/addr_utils');
26
+const debug_config = require('../util/debug_config');
27
28
29
+if (process.env.NOOBAA_LOG_LEVEL) {
30
+ const dbg_conf = debug_config.get_debug_config(process.env.NOOBAA_LOG_LEVEL);
31
+ dbg_conf.core.map(module => dbg.set_module_level(dbg_conf.level, module));
32
+}
33
+
34
const CREATE_TOKEN_RESPONSE_TIMEOUT = 30 * 1000; // 30s timeout for master to respond to HB
35
const CREATE_TOKEN_RETRY_INTERVAL = 10 * 1000;
36
const DETECT_NEW_DRIVES_INTERVAL = 60 * 1000;
0 commit comments