Design and Application of Log Plugin in Industrial Robot Control System
A log plugin solution was designed to address issues such as insufficient information monitoring and difficulty in reproducing problems in industrial robot control systems.Based on the principles of asynchronous,lightweight and multi-mod-ule concurrency,the solution provides interfaces to each module of the system.The log plug-in module records the log records generated by each module and saves them to the log files or other storage media of the system.The solution also re-alizes the function of automatic scrolling and overwriting of log files to avoid the excessive use of system resources.The con-venient and flexible log information provides an important basis for fault diagnosis in the control process of industrial robots.