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

How to send Custom Log Information to Papertrail #13

Open
osayilgan opened this issue Feb 5, 2016 · 1 comment
Open

How to send Custom Log Information to Papertrail #13

osayilgan opened this issue Feb 5, 2016 · 1 comment

Comments

@osayilgan
Copy link

Hi,

This is not really an issue but couldn't find it in your ReadMe File. I want to send some of Logs to Papertrail, but as far as I could see in your documentation, once I set it up, it will log everything to Papertrail.

What I want to do is more like sending a Log Message to Papertrail if I really need to. I don't need Crashes, Exceptions etc. Just custom log messages.

is there any way to do it?

Thanks.

@brentwatson
Copy link
Contributor

Only errors (Log.e) will go to any setup logging providers. So you could call Log.e from your own Papertrail.log (or the like) for clarity. If you have other error logs there is no way to filter them from sending, but you could prefix the Papertrail.log ones with something like "MYAPP: " and then setup a filter for them in papertrail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants