-
Notifications
You must be signed in to change notification settings - Fork 94
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
JSON being appended to the end of the log #85
Comments
Bump.... great library btw... would love to know how to fix this as well? |
This is due to the changes in Winston v3. The new version in the works in the v2 branch by @ffxsam resolves it. |
Still exists. Same problem over here. passing |
I've made few changes on my side, to fix that issue:
This way, the meta information are not appended to the log. It's quite an ugly fix, but the winston v3 change left no other option :( |
any update on this |
Winston v3 includes pretty thorough built-in syslog support. Try using these instructions to switch to one of the new transports (either Syslog or Http). |
@markdascher you are doing the greatest job. But is there any way we can just remove this meta from logging |
Not that I'm aware of. Winston v3 broke backward compatibility due to this bug, which doesn't seem like it'll ever be fixed: winstonjs/winston-transport#27 That's why we've started recommending the v3 transports mentioned above, when using Winston v3 with Papertrail. |
worst work around
|
How do I get rid of the extra log object?
The text was updated successfully, but these errors were encountered: