Fix bug 912684 - Don't throw an error when graylog isn't used