1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge remote-tracking branch 'upstream/stop-start-flows' into stop-start-flows

This commit is contained in:
Steve-Mcl 2022-06-27 13:05:39 +01:00
commit 6b6004ee70

View File

@ -261,7 +261,7 @@ module.exports = {
* be available at http://localhost:1880/diagnostics * be available at http://localhost:1880/diagnostics
* - ui: When `ui` is `true` (or unset), the action `show-system-info` will * - ui: When `ui` is `true` (or unset), the action `show-system-info` will
* be available to logged in users of node-red editor * be available to logged in users of node-red editor
*/ */
diagnostics: { diagnostics: {
/** enable or disable diagnostics endpoint. Must be set to `false` to disable */ /** enable or disable diagnostics endpoint. Must be set to `false` to disable */
enabled: true, enabled: true,
@ -274,7 +274,7 @@ module.exports = {
* - ui: When `ui` is `true` (or unset), the action `core:start-flows` and * - ui: When `ui` is `true` (or unset), the action `core:start-flows` and
* `core:stop-flows` be available to logged in users of node-red editor * `core:stop-flows` be available to logged in users of node-red editor
* Also, the deploy menu (when set to default) will show a stop or start button * Also, the deploy menu (when set to default) will show a stop or start button
*/ */
runtimeState: { runtimeState: {
/** enable or disable flows/state endpoint. Must be set to `false` to disable */ /** enable or disable flows/state endpoint. Must be set to `false` to disable */
enabled: true, enabled: true,
@ -302,27 +302,6 @@ module.exports = {
} }
}, },
/** Configure the logging output */
logging: {
/** Only console logging is currently supported */
console: {
/** 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
* off - turn off all logging (doesn't affect metrics or audit)
*/
level: "info",
/** Whether or not to include metric events in the log output */
metrics: false,
/** Whether or not to include audit events in the log output */
audit: false
}
},
/** Context Storage /** Context Storage
* The following property can be used to enable context storage. The configuration * The following property can be used to enable context storage. The configuration
* provided here will enable file-based context that flushes to disk every 30 seconds. * provided here will enable file-based context that flushes to disk every 30 seconds.