Changed the error log file to not be created unless there is a message to be logged.