syslogd with circular buffer
boyska
66f32d1c05
before this there was some hidden race condition because raceCondition is not concurrent-safe, and there was some concurrent reading and writing. Now everything is handled safely by the Hub. Client now have "options" which are understood by the Hub to handle them differently. |
||
---|---|---|
http.go | ||
hub.go | ||
main.go | ||
README.md |
A syslog daemon implementing circular buffer, in-memory storage.
This is useful when you want to keep some (heavy detailed) log available, but you don't want to log too many things to disk.
On your "main" syslog, send some message to this one!