{"record":{"id":"8a65a9a4eb73385c","repo":"fluent/fluentd","slug":"recommend-adding-file-dirname-storage-path","errorCode":null,"errorMessage":"Recommend adding #{File.dirname(storage['path'])} to the exclusion path of your antivirus software on Windows","messagePattern":"Recommend adding #(.+?) to the exclusion path of your antivirus software on Windows","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/fluent/supervisor.rb","lineNumber":839,"sourceCode":"      if @system_config.umask && !@cl_opt.key?(:chumask)\n        @chumask = @system_config.umask\n      end\n\n      $log.info :supervisor, 'parsing config file is succeeded', path: @config_path\n\n      build_additional_configurations(parsed_files) do |additional_conf|\n        @conf += additional_conf\n      end\n\n      if Fluent.windows?\n        @conf.elements.each do |element|\n          next unless element.name == 'source'\n          if element['@type'] == 'tail' && element['pos_file']\n            $log.warn(\"Recommend adding #{File.dirname(element['pos_file'])} to the exclusion path of your antivirus software on Windows\")\n          else\n            storage = element.elements.find { |v| v.name == 'storage' and v['@type'] == 'local' }\n            if storage\n              $log.warn(\"Recommend adding #{File.dirname(storage['path'])} to the exclusion path of your antivirus software on Windows\")\n            end\n          end\n        end\n      end\n\n      @libs.each do |lib|\n        require lib\n      end\n\n      @plugin_dirs.each do |dir|\n        if Dir.exist?(dir)\n          dir = File.expand_path(dir)\n          Fluent::Plugin.add_plugin_dir(dir)\n        end\n      end\n\n      if supervisor\n        # plugins / configuration dumps","sourceCodeStart":821,"sourceCodeEnd":857,"githubUrl":"https://github.com/fluent/fluentd/blob/dd45c6e18dc7be33b5e5a0f0767bf46307ff5626/lib/fluent/supervisor.rb#L821-L857","documentation":"Error \"Recommend adding #{File.dirname(storage['path'])} to the exclusion path of your antivirus software on Windows\" thrown in fluent/fluentd.","triggerScenarios":"Thrown at lib/fluent/supervisor.rb:839 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dd45c6e18dc7be33b5e5a0f0767bf46307ff5626","analyzedAt":"2026-08-21T16:22:07.332Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}