lib/elastic_apm/config.rb in elastic-apm-0.7.3 vs lib/elastic_apm/config.rb in elastic-apm-0.7.4
- old
+ new
@@ -96,10 +96,10 @@
set_from_config_file
set_from_env
yield self if block_given?
- build_logger unless logger
+ build_logger if logger.nil? || log_path
end
attr_accessor :config_file
attr_accessor :server_url