-
Notifications
You must be signed in to change notification settings - Fork 8.5k
SIGHUP does not reload logging configuration #43513
Copy link
Copy link
Closed
Labels
Team:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceregression
Metadata
Metadata
Labels
Team:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceregression
Type
Fields
Give feedbackNo fields configured for issues without a type.
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
SIGHUPsignal 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/kibanakibana.logkibana.oldand observe logs still flowing into same file (as expected)kill -HUP $(cat kibana.pid)kibana.oldExpected behavior:
It should log to
kibana.logagain and logReloading logging configuration due to SIGHUP.because ofsrc/core/server/bootstrap.ts:91This 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.