Currently distribute service is popular, but will introduce one problem which is hard to locate log message under different services/machines. This project is aim to solve this problem, centralized log messsages between different services/machines.
Logback already support send log message via JMS/Socket/SMTP.
However JMS is a bit heavy, and socket is using oio.
Netty base on nio with high performance and easy to use, obvious Netty is a good choice for such usage.
Client side:
- Implement logback appender
- Send log message to server via Netty
Server side:
- Received message from clients
- Persistent log message with well format
- Provide service api to GUI, like REST or dynamic streaming
Create a individual service to monitoring the log paths, and send via Netty to the server side.