Skip to content
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 log should reload on SIGHUP rather than requiring a restart #4407

Closed
dr2014 opened this issue Jul 9, 2015 · 5 comments
Closed

Server log should reload on SIGHUP rather than requiring a restart #4407

dr2014 opened this issue Jul 9, 2015 · 5 comments

Comments

@dr2014
Copy link

dr2014 commented Jul 9, 2015

In kibana.yml we can configure the log file file with the setting:
log_file: ./kibana.log

Is there a way to roll the log file on a nightly basis or depending on the size of the the file?

@w33ble
Copy link
Contributor

w33ble commented Jul 9, 2015

Right now, your only option would be to run the log file Kibana is outputting through some external log rotation process.

I'll keep this open as an enhancement request for adding native log rotation to the server.

@raphaele81
Copy link

+1

@tbragin tbragin changed the title Is there a way to configure log files configure log file rotation Feb 2, 2016
@rashidkpc rashidkpc changed the title configure log file rotation Better log rotation support Feb 2, 2016
@rashidkpc
Copy link
Contributor

We're not going to support log rotation internally, but we need to work well with logrotate. Currently the server has to be bounced to behave nicely when logrotate switches up the file. It should at least support SIGHUP

@tbragin tbragin added the P1 label Feb 2, 2016
@rashidkpc rashidkpc added P2 and removed P1 labels Mar 7, 2016
@simianhacker simianhacker added the good first issue low hanging fruit label Mar 24, 2016
@bevacqua bevacqua self-assigned this Mar 30, 2016
@bevacqua
Copy link
Contributor

@rashidkpc Would reloading the configuration on SIGHUP suffice here?

@rashidkpc
Copy link
Contributor

@bevacqua it might as long as the file descriptor for the log file is released.

@epixa epixa changed the title Better log rotation support Server log should reload on SIGHUP rather than requiring a restart May 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants