Minimal overhead distributed event logging library/framework?

前端 未结 3 529
孤独总比滥情好
孤独总比滥情好 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

    It sounds like a potential candidate for messaging (fire and forget). I'm a .NET person mostly so don't know what logging frameworks there are out there for Java. But I had a quick look to see if there are any messaging appenders for log4j (I use log4net quite often)- IBM have an article on a WebSphere MQ JMS appender, which might be helpful to you.

    So rather than take my answer as advocating the use of WebSphere MQ- please take as a suggestion to consider messaging- there are lots of open source messaging frameworks out there- RabbitMQ is just one example.

提交回复
热议问题