dongmu9253 2009-01-29 15:03
浏览 17

从PHP / apache服务器代码自动收集错误

It is painful to fish out things from apache error_log. Does anybody have pointers to some better error collection mechanism. Something like what is described in "Using FogBUGZ to Get Crash Reports From Users - Automatically!", but for a PHP/apache webapp

More specifically, some mechanism to hook the errors that is thrown by PHP to some bug tracking software. Maybe pointers to some library/code which captures the errors/warnings and collect the data which can be entered into the bug-tracking software. With the following bonus features:

  • identifies duplicate bugs.
  • if a bug leads to more than one error message, it should be captured as one bug
  • 写回答

3条回答 默认 最新

  • ds08541 2009-02-03 01:39
    关注

    We're using Zend Platform on our servers. It's not free but works very well and does most of what you ask.

    It allow your to define events and set triggers. When triggered the entire state of the application is logged. You can browse and filter graphs or lists of event types, mark events as duplicates, view source, etc.

    The nicest thing is this: since the entire event is captures you can debug the event with a single click. The state of the application (code, session, variables, cookies, and even uploaded files) is sent to Eclipse and paused. You can then step through the code to see the exact state of the application when the bug occurred. Very useful for root cause analysis. If you want, you can replay the error on a development server, so you don't interfere with production.

    评论

报告相同问题?

悬赏问题

  • ¥15 拟通过pc下指令到安卓系统,如果追求响应速度,尽可能无延迟,是不是用安卓模拟器会优于实体的安卓手机?如果是,可以快多少毫秒?
  • ¥20 神经网络Sequential name=sequential, built=False
  • ¥16 Qphython 用xlrd读取excel报错
  • ¥15 单片机学习顺序问题!!
  • ¥15 ikuai客户端多拨vpn,重启总是有个别重拨不上
  • ¥20 关于#anlogic#sdram#的问题,如何解决?(关键词-performance)
  • ¥15 相敏解调 matlab
  • ¥15 求lingo代码和思路
  • ¥15 公交车和无人机协同运输
  • ¥15 stm32代码移植没反应