added logging to graylog