mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Merge pull request #9 from lukasolson/fix/log-no-cookies
Don't log values of cookies
This commit is contained in:
commit
cfe7c6b827
1 changed files with 4 additions and 3 deletions
|
@ -44,10 +44,11 @@ export default function loggingConfiguration(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