mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Adding logging & metric recording configuration via settings
This commit is contained in:
14
settings.js
14
settings.js
@@ -132,6 +132,18 @@ module.exports = {
|
||||
// os:require('os'),
|
||||
// bonescript:require('bonescript'),
|
||||
// arduino:require('duino')
|
||||
}
|
||||
},
|
||||
|
||||
// Level of logging to be recorded. Options are:
|
||||
// fatal - only those errors which make the application unusable should be recorded
|
||||
// error - record errors which are deemed fatal for a particular request + fatal errors
|
||||
// warn - record problems which are non fatal + errors + fatal errors
|
||||
// info - record information about the general running of the application + warn + error + fatal errors
|
||||
// debug - record information which is more verbose than info + info + warn + error + fatal errors
|
||||
// trace - record very detailed logging + debug + info + warn + error + fatal errors
|
||||
logLevel: "info",
|
||||
|
||||
// Whether metrics are reported
|
||||
metricsOn: false
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user