开发者

Are there any patterns for monitoring log4net exception logs from across a cluster of web servers?

开发者 https://www.devze.com 2023-01-11 06:39 出处:网络
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:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消