Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added custom rewriter for winston-logsene #6

Merged
merged 1 commit into from
May 25, 2016

Conversation

hver
Copy link
Contributor

@hver hver commented May 25, 2016

In my logging environment, I need to add additional fields to every log entry in logsene, like serverIp, clientIp, environment, etc, but if I use the rewriters from winston, every transport gets these fields, but mostly these fields are not needed there. For example in the console I know exactly, which machine I'm working on.
Because of this I added a possibility to provide a rewriter function only for the winston-logsene transport. Now you can add all the needed custom fields to the cloud, and another transports are not affected by this.

@megastef megastef merged commit c982317 into sematext:master May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants