摘要
针对视讯MCU(Multi-Point Control Unit)系统庞大,功能复杂,系统运行过程中出错原因多样化的特点,通过改写Linux系统下的syslogd进程,引入一种快速高效的信息定位方法。将改写后的syslogd做为MCU的一个子模块,当MCU系统运行时,将用户操作、各模块间的交互消息、各模块的关键动作、出错信息(出错模块、错误类型、详细原因、具体位置)等通过syslogd进程记录下来,供开发人员定位错误,改进设计,提高软件健壮性。实践证明该方法能有效记录系统运行日志,快速定位错误,提高了软件开发的速度。
Concerning the hugeness of system, the complexity of functions and the variety of causes for faults during operation of MCU( Multi-Point Control Unit), this article proposes a fast and efficient approach for information locating by rewriting the syslogd process in Linux. The rewritten syslogd process, which now servers as a sub module of MCU, will record all information about key operations and error logs (error modules, error type, detailed causes and specific locations) while system runs. The information can be utilized by developers to locate errors, improve design and enhance the robust of software. Practice shows that this approach record system run-log effectively, locate errors fast and improve the speed of software development.
出处
《重庆理工大学学报(自然科学)》
CAS
2010年第2期73-77,共5页
Journal of Chongqing University of Technology:Natural Science