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

Allow using logstash option with the File transport #299

Closed
wants to merge 1 commit into from

Conversation

gmajoulet
Copy link
Contributor

Hello,

I noticed a nice logstash format option by browsing your code, and after reading some PRs I saw you're only using it with another library.
Logging in a file using the logstash format is useful if you use a centralized logstash installation, as we do.

This PR only allows people to add a logstash parameter to format the output, and take advantage of the already written code.

I'm not sure it's useful for the other transports though, so I only added that for the File transport.

@gmajoulet
Copy link
Contributor Author

It looks like the build timed out... Could you please restart it?

@guillaumepotier
Copy link

+1

@gmajoulet
Copy link
Contributor Author

Any news on that? We'd love using it.

@futurechan
Copy link

+2

@gmajoulet
Copy link
Contributor Author

Up

Any news on that please?

@robinduckett
Copy link

I've just merged this with a branch I've set up for handling pull requests - hopefully this'll get merged in soon.

@shapeshed
Copy link
Contributor

are there any updates on this?

I see this is now enabled in options

https://github.com/flatiron/winston/blob/master/lib/winston/common.js#L149-L164

if there is work to be done can help out

@indexzero
Copy link
Member

👍 this will go into the next release for [email protected], but this option will be removed in 1.0.0 in favor of customer formatters. A list of all breaking changes for 1.0.0 is being compiled in #452

@indexzero
Copy link
Member

Cherry-picked as d5ebcb3

@indexzero indexzero closed this Oct 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants