Fixed NPE when using logstash appender without any custom fields.