Are there any patterns or practices for monitoring log4net exception logs across a cluster of web servers. I have cons开发者_运维问答idered several options including the following:
- A central database
- A log file retrieval system
- A service based loggin architecture
Thanks, Richard
Message Queuing is a great solution. It works great in a distributed enviroment where one machine or multiple can be popping log messages of the queue and persisting them somewhere (Central logging database or rolling flat files...). And if at any time a machine creating messages or popping go offline they can continue logging messages and continue as normal when they are back online.
Your could configure log4net to trace into the event log of each machine and use a hypervisor software such as SCOM to monitor each node.
精彩评论