Commit 53ddd34
authored
Move logging shutdown to after waiting on node close (elastic#95093)
When Elasticsearch is shutting down, the Node instance is closed, and
then logging is shutdown. However, some aspects of Node shutdown happen
asynchronously, and awaiting that final close from the node occurs after
shutting down logging. This commit moves logging shutdown to the very
end of shutdown, to allow for as much information as possible to be
logged if something goes wrong.1 parent e832e63 commit 53ddd34
File tree
1 file changed
+3
-2
lines changed- server/src/main/java/org/elasticsearch/bootstrap
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
450 | | - | |
451 | 449 | | |
452 | 450 | | |
453 | 451 | | |
| |||
459 | 457 | | |
460 | 458 | | |
461 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
| |||
0 commit comments