Fix for logging for centos