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

Use bunyan-syslog-udp instead of bunyan-syslog #52

Merged
merged 2 commits into from Sep 29, 2015

Conversation

d00rman
Copy link
Contributor

@d00rman d00rman commented Sep 29, 2015

No description provided.

@d00rman
Copy link
Contributor Author

d00rman commented Sep 29, 2015

cc @wikimedia/services

@@ -55,7 +55,6 @@ var streamConverter = {
level: stream.level || conf.level,
type: 'raw',
stream: syslog_stream.createBunyanStream({
type: 'sys',
facility: syslog_stream.local0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't expose these as enum any more, so this should be 'local0'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@Pchelolo
Copy link
Contributor

Important note: cluster+udp is broken in node 0.12.7, so syslog logging wouldn't work (and actually the whole app would crash). There's a workaround for that, but we could avoid introducing it, because 0.12.8 is coming pretty soon and we are not using 0.12 anywhere.

@Pchelolo
Copy link
Contributor

LGTM

@d00rman
Copy link
Contributor Author

d00rman commented Sep 29, 2015

Yeah, I think 0.12.7 being currently broken for this specific use-case is acceptable, especially since 0.12.8 will contain the fix for it.

d00rman pushed a commit that referenced this pull request Sep 29, 2015
Use bunyan-syslog-udp instead of bunyan-syslog
@d00rman d00rman merged commit 8fed2df into wikimedia:master Sep 29, 2015
@d00rman d00rman deleted the syslog-udp branch September 29, 2015 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants