fix to define #log for old fluentd versions