Feature #245
closed
Added by Wido den Hollander almost 14 years ago.
Updated over 13 years ago.
Description
I would like to setup remote syslog on my OSD's so i can run with the highest debug level on all my nodes.
Right now my free diskspace is lacking at my OSD's (most goes to OSD data) so my logging partition is filling up pretty fast.
A remote syslog is also pretty usefull when searching through logfiles of multiple nodes at the same time.
Instead of syslog, piping all the logs is fine too, we could use "logger" to sent it to syslog.
- Tracker changed from Bug to Feature
Thought about this some. A few things:
the dout() macros just need to use a temp stringstream (not *_dout), then send the full string to the log destination. when logging is enabled, at least.
we may want ot add pr_info, pr_warning, pr_error, type macros for other logging levels, (dout == pr_debug). and clean up the code appropriately (e.g., most dout(0) is basically pr_info.
May also make sense to wrap the logclient stuff in a similar global interface in common/log.h, and allow it to use syslog too (instead of current log forwarding to monitors).
- Target version set to v0.22
- Target version changed from v0.22 to v0.23
- Target version changed from v0.23 to 12
- Assignee set to Colin McCabe
- Estimated time set to 5:00 h
- Source set to 3
- Translation missing: en.field_position deleted (
307)
- Translation missing: en.field_position set to 301
- Target version changed from 12 to v0.25
- Status changed from New to 7
- Status changed from 7 to Resolved
Also available in: Atom
PDF