mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Merge pull request #5952 from Bargs/feature/logRequestEvents
Log all request events by default and request error events in quiet mode
This commit is contained in:
commit
92f210f769
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ module.exports = function (kbnServer, server, config) {
|
|||
else if (config.get('logging.quiet')) {
|
||||
_.defaults(events, {
|
||||
log: ['listening', 'error', 'fatal'],
|
||||
request: ['error'],
|
||||
error: '*'
|
||||
});
|
||||
}
|
||||
|
@ -30,6 +31,7 @@ module.exports = function (kbnServer, server, config) {
|
|||
_.defaults(events, {
|
||||
log: ['info', 'warning', 'error', 'fatal'],
|
||||
response: config.get('logging.json') ? '*' : '!',
|
||||
request: ['info', 'warning', 'error', 'fatal'],
|
||||
error: '*'
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue