从 .NET Compact Framework 将错误等记录到远程中央位置的简单方法
我正在寻找一种非常简单的方法,用于将应用程序错误和某些应用程序指标记录到中央远程位置/服务器。
我认为它需要像 Web 服务或类似的技术。
我担心的一件事是设备失去连接。我想要有一些东西可以在本地存储日志然后转发它们。理想情况下,这几乎是透明且无缝的。
我可以自己做一些东西,但这似乎是一个非常普遍的需求。我认为有一个现有的、经过验证的解决方案可供我利用。
有什么想法吗?
I am looking for a very simple method for logging application errors and certain application metrics to a central remote location / server.
I'm thinking it will need to be something like Web Services or some similar technology.
One concern I have is device loses connectivity. I'd like to have something that stores the logs locally then forwards them. Ideally this would almost be transparent and seamless.
I could roll something of my own, but it seems like a very common need. I like to think there is an existing proven solution that I could take advantage of.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Log4Net 在紧凑框架(用于一般日志记录)上运行良好,我认为它不提供远程集中日志记录,但您可以构建一个调用 Web 服务的附加程序。
我还记得 MSPP 有一个日志应用程序块作为 的一部分移动客户端软件工厂在本地记录日志,然后在连接可用时将日志上传到中央存储。
HTH
马特
Log4Net works well on compact framework (for general logging), I don't think it provides remote centralised logging but you could build an appender that called a web service.
Also I seem to remember that MSPP had a logging application block as part of the mobile client software factory that logged locally and then uploaded the logs to a central store when connectivity was available.
HTH
Matt