The Nagios plugin check object logs on internal dealings. The main function logs on handling the result.