是否有任何模式可以跨 Web 服务器集群监控 log4net 异常日志?

发布于 2024-09-13 04:34:49 字数 143 浏览 3 评论 0原文

是否有任何模式或实践可以跨 Web 服务器集群监控 log4net 异常日志。我考虑了几个选项,包括以下内容:

  • 中央数据库
  • 日志文件检索系统
  • 基于服务的登录架构

谢谢, 理查德

Are there any patterns or practices for monitoring log4net exception logs across a cluster of web servers. I have considered several options including the following:

  • A central database
  • A log file retrieval system
  • A service based loggin architecture

Thanks,
Richard

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

柒夜笙歌凉 2024-09-20 04:34:50

消息队列是一个很好的解决方案。它在分布式环境中工作得很好,其中一台或多台机器可以弹出队列的日志消息并将它们保存在某个地方(中央日志记录数据库或滚动平面文件......)。如果创建消息或弹出消息的机器在任何时候离线,它们可以继续记录消息,并在重新上线后照常继续。

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.

童话 2024-09-20 04:34:50

您可以配置 log4net 以跟踪每台计算机的事件日志,并使用虚拟机管理程序软件,例如 SCOM 来监控每​​个节点。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文