From 713b738d9ac4a9321bbeb550b415311a6478747b Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 26 Nov 2024 17:08:00 +0900 Subject: [PATCH] command: fix NoMethodError of --daemon under Windows Signed-off-by: Shizuo Fujita --- lib/fluent/supervisor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fluent/supervisor.rb b/lib/fluent/supervisor.rb index a76bd1d40a..07835b96ee 100644 --- a/lib/fluent/supervisor.rb +++ b/lib/fluent/supervisor.rb @@ -450,7 +450,7 @@ def self.serverengine_config(params = {}) stop_immediately_at_unrecoverable_exit: true, root_dir: params['root_dir'], logger: $log, - log: $log.out, + log: $log&.out, log_level: params['log_level'], chuser: params['chuser'], chgroup: params['chgroup'],