File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
logstash-core/lib/logstash Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,8 @@ def execute
301301 return 0
302302 end
303303
304+ logger . info ( "Starting Logstash" , "logstash.version" => LOGSTASH_VERSION , "jruby.version" => RUBY_DESCRIPTION )
305+
304306 # Add local modules to the registry before everything else
305307 LogStash ::Modules ::Util . register_local_modules ( LogStash ::Environment ::LOGSTASH_HOME )
306308
@@ -381,8 +383,6 @@ def execute
381383 # lock path.data before starting the agent
382384 @data_path_lock = FileLockFactory . obtainLock ( java . nio . file . Paths . get ( setting ( "path.data" ) ) . to_absolute_path , ".lock" )
383385
384- logger . info ( "Starting Logstash" , "logstash.version" => LOGSTASH_VERSION , "jruby.version" => RUBY_DESCRIPTION )
385-
386386 @dispatcher . fire ( :before_agent )
387387 @agent = create_agent ( @settings , @source_loader )
388388 @dispatcher . fire ( :after_agent )
You can’t perform that action at this time.
0 commit comments