mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
cc27840a28
commit
6019e6cf05
1 changed files with 2 additions and 0 deletions
|
@ -369,6 +369,8 @@ class LogStash::Runner < Clamp::StrictCommand
|
|||
|
||||
@agent.shutdown
|
||||
|
||||
logger.info("Logstash shut down.")
|
||||
|
||||
# flush any outstanding log messages during shutdown
|
||||
org.apache.logging.log4j.LogManager.shutdown
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue