Skip to content

Commit

Permalink
Add logging settings
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Mar 17, 2020
1 parent f41bdc8 commit 8b1d164
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,25 @@ module.exports = {
// bonescript:require('bonescript'),
// arduino:require('duino')
},

// 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
}
},
editorTheme: {
projects: {
enabled: '%%projectsEnabled%%'
Expand Down

0 comments on commit 8b1d164

Please sign in to comment.