Skip to content

Instantly share code, notes, and snippets.

@danielb2
Created April 10, 2015 16:19
Show Gist options
  • Save danielb2/85c1a309a7be11ff4a71 to your computer and use it in GitHub Desktop.
Save danielb2/85c1a309a7be11ff4a71 to your computer and use it in GitHub Desktop.
var options = {
filter: {
creditcard: 'creditcard',
cvv: 'censor',
unusedfield: 'remove'
},
opsInterval: 1000,
reporters: [{
reporter: require('good-console'),
events: { log: '*', response: '*' }
}, {
reporter: require('good-file'),
events: { ops: '*' },
config: './test/fixtures/awesome_log'
}, {
reporter: 'good-http',
events: { error: '*' },
config: {
endpoint: 'http://prod.logs:3000',
wreck: {
headers: { 'x-api-key' : 12345 }
}
}
}]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment