-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
SIGHUP does not reload logging configuration #43513
Comments
Pinging @elastic/kibana-platform |
Closed by elastic/good#3 |
master still uses the old version of |
PR we're waiting on now is #48026 |
waiting for #54168 |
I gave this a good shake yesterday, trying to come up with a solution in #56660. Unfortunately, I was never able to actually reproduce it so I'm not sure if I have a fix. I'll let @joshdover take a stab at things today and unless he figures out what's going on I think we should close this and recommend that users try out a dedicated logrotate utility or something. The exact steps I used to try and reproduce:
|
@spalger I repeated all your steps (I used
and file doesn't contain all the messages. |
Update: we have decided not to pursue fixing this at this time. We have a new experimental log rotation feature (checkout the If there is significant need from the community, please comment on this issue and we will reprioritize. |
Kibana version: 7.3
Elasticsearch version: -
Server OS version: macOS 10.14.6
Browser version: -
Browser OS version: -
Original install method (e.g. download page, yum, from source, etc.): download page
Describe the bug:
Sending the
SIGHUP
signal to the Kibana process should reload the logging configuration and start logging to the new location. The logging configuration is not reloaded on macOS, but Kibana monitoring reloads properly.Steps to reproduce:
./bin/kibana
kibana.log
kibana.old
and observe logs still flowing into same file (as expected)kill -HUP $(cat kibana.pid)
kibana.old
Expected behavior:
It should log to
kibana.log
again and logReloading logging configuration due to SIGHUP.
because ofsrc/core/server/bootstrap.ts:91
This test should make sure it's happening: https://github.com/elastic/kibana/blob/master/src/cli/serve/integration_tests/reload_logging_config.test.js
Not sure why it doesn't fail.
The text was updated successfully, but these errors were encountered: