Corrrected nagios logging error