Use plugin_id for logging output messages on error

How about use plugin_id for logging output messages on error instead to keep compatible output with in_monitor_agent?

ref. #458