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

Specify log format #51

Open
justingosan opened this issue Sep 4, 2018 · 1 comment
Open

Specify log format #51

justingosan opened this issue Sep 4, 2018 · 1 comment

Comments

@justingosan
Copy link

I'm using Papertrail to store all my logs. Right now the default and only format is json. is there anyway to specify a custom format for the log messages? Thanks!

@jclulow
Copy link

jclulow commented Sep 4, 2018

This library is not a general purpose syslog library, but rather is designed to be used in conjunction with node-bunyan to stream log records in the bunyan format through a syslog server. The bunyan format is a JSON format with a number of specified fields, as well as the ability to include any extra custom fields that might be helpful.

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