Fix logging for Graphite and Zabbix