Skip to content

Commit

Permalink
Merge pull request #147 from teklabania/master
Browse files Browse the repository at this point in the history
updating logging.files path config only when empty
  • Loading branch information
vkhatri authored Oct 8, 2018
2 parents ce235d0 + 6c760a2 commit e4402ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

config['filebeat.registry_file'] = node['platform'] == 'windows' ? "#{filebeat_install_resource.conf_dir}/registry" : '/var/lib/filebeat/registry'
config['filebeat.config_dir'] = filebeat_install_resource.prospectors_dir
config['logging.files'] = { 'path' => logging_files_path }
config['logging.files']['path'] ||= logging_files_path

# Filebeat and psych v1.x don't get along.
if Psych::VERSION.start_with?('1')
Expand Down

0 comments on commit e4402ff

Please sign in to comment.