New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[server/logging] SIGHUP does not recreate file descriptor if path unchanged #26673

spalger opened this Issue Dec 5, 2018 · 1 comment


None yet
3 participants

spalger commented Dec 5, 2018

Kibana version: 6.5.0

Description of the problem including expected versus actual behavior:

Sending a SIGHUP signal to Kibana used to reload the logging configuration regardless of the contents of the config file. In the new platform sending a SIGHUP reloads the config file, but logging is only reloaded if the contents of the config changes. This causes problems when people rename the current file Kibana is logging to and send it a SIGHUP instructing it to re-open the file descriptor (and recreate the file at the original path).

Steps to reproduce:

  1. set logging.dest and pid.file in kibana.yml
  2. start kibana server
  3. rename logging dest file to something else
  4. kill -HUP "$(cat pid.file)"

This comment has been minimized.

elasticmachine commented Dec 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment