Skip to content

Commit

Permalink
modify log level. delete some log content.
Browse files Browse the repository at this point in the history
  • Loading branch information
TeraTian committed Sep 14, 2024
1 parent d0bc9f0 commit d9b70da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (k *KeepalivedContainerCollectorHost) sigNum(sigString string) syscall.Sign
func (k *KeepalivedContainerCollectorHost) signal(signal syscall.Signal) error {
data, err := os.ReadFile(k.pidPath)
if err != nil {
logrus.WithField("path", k.pidPath).WithError(err).Warn("Can't find keepalived pid. Falling back to the default process. It's recommended to explicitly specify the pid.")
logrus.WithField("path", k.pidPath).WithError(err).Info("Can't find keepalived pid. Falling back to the default process.")

err := k.dockerCli.ContainerKill(context.Background(), k.containerName, strconv.Itoa(int(signal)))
if err != nil {
Expand Down

0 comments on commit d9b70da

Please sign in to comment.