我想知道是否有人使用 syslog 来记录他的 Web 应用程序错误/警告/信息?在具有大量服务器的部署环境中,它可能非常有用。
如果是,您可以获得什么样的客户端可视化来观察错误并将相同的错误分组到批处理中?
您是否使用 syslog 以外的其他技术来实现这种日志记录功能?
I use this viewer: http://www.kiwisyslog.com/
I use syslog all over the place. In web applications, services and tools which run every once in a while
When a lot of servers are used and scalability is an issue, check this: http://developers.facebook.com/scribe/
您可以尝试使用 log4j 或 log4net 进行日志记录,然后您可以使用Apache Chainsaw观看日志,这是一个允许您按组、种类等查看日志的 GUI。
You can use splunk to view syslogs. It is free and has many reporting & visualization features for logs.
I'm a big fan of ELMAH myself, it doesn't log to syslog though, but provides very clean error logging facilities.