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

Papertrail logs entry.Data["level"] incorrectly #72

Closed
polds opened this issue Oct 31, 2014 · 3 comments
Closed

Papertrail logs entry.Data["level"] incorrectly #72

polds opened this issue Oct 31, 2014 · 3 comments

Comments

@polds
Copy link
Contributor

polds commented Oct 31, 2014

I've poked through the source to see if I could resolve this myself but couldn't figure it out.

Logs being sent to Papertrail are incorrectly logging entry.Data["level"] Papertrail sees all of the logs as %!s(<nil>)

@sirupsen
Copy link
Owner

sirupsen commented Nov 5, 2014

It's because it's no longer a field, but a member of the Entry struct:

https://github.com/Sirupsen/logrus/blob/master/entry.go#L25

This was a regression introduced recently. Mind submitting a patch for this?

@polds
Copy link
Contributor Author

polds commented Nov 6, 2014

Pushed a new commit: 3017fa4 Sadly it appended it to my other open PaperTrail Pull Request so feel free to cherry pick that commit.

@polds
Copy link
Contributor Author

polds commented Nov 23, 2014

This can be closed now :).

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

No branches or pull requests

2 participants