MT#6817 set debug off if error. Add pid_watcher log