Page MenuHomePhabricator

Allow logs to be sent to rsyslog
Closed, ResolvedPublic

Description

For local logging currently the only option is to write logs to a file. However, this may be dangerous in edge cases like extreme logging or disk fill-up. We need to add the possibility to service-runner to send the logs to syslog via the syslog adapter for bunyan. Apart from local logging, we can also use it to send them to a centralised machine (e.g. flourine).

Event Timeline

mobrovac raised the priority of this task from to Medium.
mobrovac updated the task description. (Show Details)
mobrovac subscribed.
mobrovac assigned this task to Pchelolo.

PR 48 resolves the issue. It has been merged and published.

Reopening as it turns out bunyan-syslog has binary dependencies which fail to build on iojs. We don't want binary dependencies anyway.

A new bunyan-syslog-udp pure-js library was written and in PR#52 it was integrated to service-runner v 2.0.7, so this issue can be closed.

Note: udp+cluster is broken in node 0.12.7, but it is going to get fixed in 0.12.8, until then syslog is not usable on 0.12

Pchelolo set Security to None.