tracing icon indicating copy to clipboard operation
tracing copied to clipboard

dedicated `tracing-syslog` crate

Open mainrs opened this issue 5 years ago • 3 comments
trafficstars

Feature Request

Motivation

On systems without systemd, the tracing-journald crate won't work. For those systems, a dedicated tracing-syslog crate would be beneficial.

Proposal

This feature should be implemented inside its own crate under the same workspace.

Alternatives

In theory, it should be possible to enable the tracing-log interop in combination with syslog. However, in my opinion, this is more of a dirty workaround :smile:.

Misc

Work has not been started on any fork.

mainrs avatar Jul 10 '20 18:07 mainrs

After using the tracing/log+syslog crate combination for a while and being frustrated with the lack of configurability and general interfacing with tracing, I decided to look into a syslog-backed Subscriber. I have something working that handles events (but ignores spans completely for now) that I'll be making a PR for soon. @hawkw should I branch off of master or 0.1.x? Things seem to be rather in flux right now

max-heller avatar Dec 12 '20 02:12 max-heller

As discussed in #1137, tracing-syslog won't be getting added to the tracing monorepo, but I've moved the code to max-heller/tracing-syslog. Try it out and let me know if it works for your use-case, and I can publish it to crates.io!

max-heller avatar May 13 '22 23:05 max-heller

Finally published the crate as syslog-tracing. I was trying to get ownership of the name-squat tracing-syslog but couldn't get in contact with the owner.

max-heller avatar Aug 25 '22 20:08 max-heller