Details
Description
Sending worker logs to Syslog simplifies implementation of retention policies and makes it easier for teams to devise their own approach to log indexing and authorized use of logs (since many of these solutions exist for Syslog already).
In Bash, we can write a wrapper that uses redirection and process substitution to ensure a command invocation's STDOUT and STDERR are written to syslog.
https://gist.github.com/solidsnack/6090947
It would be nice if Mesos offered such a facility, or provided a way to plugin a wrapper script like the one above.
Attachments
Issue Links
- is related to
-
MESOS-1375 Log rotation capable
-
- Accepted
-
- relates to
-
MESOS-3348 Add either log rotation or capped-size logging (for tasks)
-
- Resolved
-