日志文件审查工具
我发现自己经常查看代码生成的日志文件,任何人都可以建议任何好的(免费)实用程序来查看大型日志文件吗?我到目前为止一直在使用notepad++,但我想知道是否有更好的工具?
I find myself regularly looking at log files my code generates, can anyone suggest any good (free) utilities for reviewing large log files? I've been using notepad++ up to now but I was wondering if there are any better tools?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我使用日志监视器进行“实时”日志记录更新。它并不涉及 grep 来深入研究细节,但对于了解随着时间的推移所发生的情况,它是完美的(不再需要刷新文件来获取最新条目)。
I've used Log Monitor for "real-time" logging updates. It doesn't touch grep for digging into specifics, but for a view of what's going on as time passes, it is perfect (no more file refreshing to get to latest entries).
我们确实需要有关您正在使用的日志的更多信息。你说这些是内部日志......日志的结构是什么? AWK/SED/GREP 能满足您的需要吗?你在什么平台?
我将日志写为 XML,然后我的 Web 应用程序中有一个页面,用于读取 XML 文件并将结构解析到手风琴面板中,我可以快速浏览该面板以找到我正在查找的日志信息。稍微考虑一下该过程的两端,我最终得到了一个随时可用的记录器,它运行速度快,将事物保留在过程本地,并且我可以立即查看。无需挖掘。
当然,这仅取决于您要解决的问题。
We really need more information on what logs you're using. You say these are in-house logs ... what is the structure of the logs? Would AWK/SED/GREP work for what you need? What platform are you on?
I write my logs out as XML and then I have a page in my webapp that reads the XML files and parses the structure into an accordion panel that I can quickly glance through to find the log information I'm looking for. A little consideration on both ends of that process and I ended up with a readily available logger that runs fast, keeps things local to the process, and which I can review at a moment's notice. No digging necessary.
Just depends on the problem you're trying to solve, of course.
我对 BareTail 非常满意。它有免费版和专业版。我认为专业版是 35 美元,物有所值(它为您提供支持正则表达式的搜索/过滤)。
I am very happy with BareTail. It comes in a free and a pro version. The pro version is $35 well spent i my opinion (it gives you search/filtering supporting regex).