Adding graylog2
Fixes for graylog and teamcity