diff --git a/lib/fluent/log.rb b/lib/fluent/log.rb index 082e946c47..29c3965ece 100644 --- a/lib/fluent/log.rb +++ b/lib/fluent/log.rb @@ -433,11 +433,6 @@ def configure(conf) end end - def start - @log.reset - super - end - def terminate super @log.reset diff --git a/test/test_log.rb b/test/test_log.rb index 10d2ce9454..6aa7fe9d0c 100644 --- a/test/test_log.rb +++ b/test/test_log.rb @@ -643,7 +643,7 @@ def test_optional_header def test_start plugin = DummyPlugin.new - mock(plugin.log).reset + mock(plugin.log).should_receive(:reset).never plugin.start end