Minimal overhead distributed event logging library/framework?

前端 未结 3 567
孤独总比滥情好
孤独总比滥情好 2021-02-04 19:31

We\'d like to keep records of all major events in our systems. For example, where the database might store the current user status, the event log should record all changes to th

3条回答
  •  花落未央
    2021-02-04 20:06

    You may consider using old good *nix Syslog. It has very small overhead and is mostly used over UDP or local UNIX sockets, but may use TCP if you need reliable logging. Works for my (Python/Perl, mostly, but it is completely language/platform-agnostic) like a charm.

    Sorry, I'm not familiar with Java, but feature-wise, this seems to be some good library I've googed: http://syslog4j.org/

    Edit: Quick googling discovered an article called "Robust event logging with Syslog", which seems to be pretty detailed on the subject. Sorry, I've misread it when posted and thought it is a *nix syslog library, but it isn't.

提交回复
热议问题