mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Don't log values of cookies
This commit is contained in:
parent
2309c306af
commit
3acdc05527
1 changed files with 4 additions and 3 deletions
|
@ -45,10 +45,11 @@ module.exports = function (kbnServer, server, config) {
|
|||
dest: config.get('logging.dest'),
|
||||
// I'm adding the default here because if you add another filter
|
||||
// using the commandline it will remove authorization. I want users
|
||||
// to have to explicitly set --logging.filter.authorization=none to
|
||||
// have it show up int he logs.
|
||||
// to have to explicitly set --logging.filter.authorization=none or
|
||||
// --logging.filter.cookie=none to have it show up in the logs.
|
||||
filter: _.defaults(config.get('logging.filter'), {
|
||||
authorization: 'remove'
|
||||
authorization: 'remove',
|
||||
cookie: 'remove'
|
||||
})
|
||||
},
|
||||
events: _.transform(events, function (filtered, val, key) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue