Add clarifying message (#28535)

This commit is contained in:
Luis (LT) Carbonell
2024-09-30 11:48:55 -04:00
committed by GitHub
parent 70d5c5e582
commit 2d46c8d1fd

View File

@@ -1721,6 +1721,7 @@ func (c *ServerCommand) Run(args []string) int {
// Notify systemd that the server has completed reloading config
c.notifySystemd(systemd.SdNotifyReady)
case <-c.SigUSR2Ch:
c.logger.Info("Received SIGUSR2, dumping goroutines. This is expected behavior. Vault continues to run normally.")
logWriter := c.logger.StandardWriter(&hclog.StandardLoggerOptions{})
pprof.Lookup("goroutine").WriteTo(logWriter, 2)