Tweaked logging in nagios plugin