You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -246,7 +248,9 @@ The format, along with its default values, is as follows (using the recommended
246
248
"logging": {
247
249
"level": 4,
248
250
"file": "highcharts-export-server.log",
249
-
"dest": "log/"
251
+
"dest": "log/",
252
+
"toConsole": true,
253
+
"toFile": true
250
254
},
251
255
"ui": {
252
256
"enable": false,
@@ -350,8 +354,10 @@ These variables are set in your environment and take precedence over options fro
350
354
### Logging Config
351
355
352
356
-`LOGGING_LEVEL`: The logging level to be used. Can be **0** - silent, **1** - error, **2** - warning, **3** - notice, **4** - verbose or **5** benchmark (defaults to `4`).
353
-
-`LOGGING_FILE`: The name of a log file. The `logDest` option also needs to be set to enable file logging (defaults to `highcharts-export-server.log`).
354
-
-`LOGGING_DEST`: The path to store log files. This also enables file logging (defaults to `log/`).
357
+
-`LOGGING_FILE`: The name of a log file. The `logToFile` and `logDest` options also need to be set to enable file logging (defaults to `highcharts-export-server.log`).
358
+
-`LOGGING_DEST`: The path to store log files. The `logToFile` option also needs to be set to enable file logging (defaults to `log/`).
359
+
-`LOGGING_TO_CONSOLE`: Enables or disables showing logs in the console (defaults to `true`).
360
+
-`LOGGING_TO_FILE`: Enables or disables creation of the log directory and saving the log into a .log file (defaults to `true`).
355
361
356
362
### UI Config
357
363
@@ -431,8 +437,10 @@ _Available options:_
431
437
-`--reaperInterval`: The duration, in milliseconds, after which the check for idle resources to destroy is triggered (defaults to `1000`).
432
438
-`--poolBenchmarking`: Indicate whether to show statistics for the pool of resources or not (defaults to `false`).
433
439
-`--logLevel`: The logging level to be used. Can be **0** - silent, **1** - error, **2** - warning, **3** - notice, **4** - verbose or **5** - benchmark (defaults to `4`).
434
-
-`--logFile`: The name of a log file. The `--logDest` option also needs to be set to enable file logging (defaults to `highcharts-export-server.log`).
435
-
-`--logDest`: The path to store log files. This also enables file logging (defaults to `log/`).
440
+
-`--logFile`: The name of a log file. The `logToFile` and `logDest` options also need to be set to enable file logging (defaults to `highcharts-export-server.log`).
441
+
-`--logDest`: The path to store log files. The `logToFile` option also needs to be set to enable file logging (defaults to `log/`).
442
+
-`--logToConsole`: Enables or disables showing logs in the console (defaults to `true`).
443
+
-`--logToFile`: Enables or disables creation of the log directory and saving the log into a .log file (defaults to `true`).
436
444
-`--enableUi`: Enables or disables the user interface (UI) for the Export Server (defaults to `false`).
437
445
-`--uiRoute`: The endpoint route to which the user interface (UI) should be attached (defaults to `/`).
438
446
-`--nodeEnv`: The type of Node.js environment (defaults to `production`).
0 commit comments