Closed damluji closed 5 years ago
This doesn't look right ... we should be getting these from the config ...
Er, hello?
This Pull Request is too damn old! Merge or close this, sucka.
I ran into the same issue. It was very hard to figure out what was going on... then I decided to write down like the following:
<storage>
@type local
persistent true
path /var/log/td-agent/systemd.pos
</storage>
Er, hello?
This Pull Request is too damn old! Merge or close this, sucka.
Er, hello?
This Pull Request is too damn old! Merge or close this, sucka.
in both fluent 1.3.3 and 1.4.0 the function storage_create sets both type and conf to be nil by default, and expects ONE of them at least to be set or it will throw an ArgumentError, "BUG: both type and conf are not specified"
/lib/fluent/plugin_helper/storage.rb line 32: def storage_create(usage: '', type: nil, conf: nil, default_type: nil)