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

Log rotating HTTP log #873

Open
spikeekips opened this issue Dec 10, 2018 · 4 comments · May be fixed by #886
Open

Log rotating HTTP log #873

spikeekips opened this issue Dec 10, 2018 · 4 comments · May be fixed by #886
Assignees
Labels
enhancement New feature or request

Comments

@spikeekips
Copy link
Contributor

No description provided.

@spikeekips spikeekips added the enhancement New feature or request label Dec 10, 2018
@Geod24
Copy link
Contributor

Geod24 commented Dec 10, 2018

https://linux.die.net/man/8/logrotate ?

@spikeekips
Copy link
Contributor Author

@Geod24 That’s what I expect. I’m looking some seamless way.

@Geod24
Copy link
Contributor

Geod24 commented Dec 10, 2018

I have some experience with this.
The simplest way is to add a signal handler that reload the file, which can be done in less than 10 LoC on Sebak's side.
The best way is to provide a control socket... But it's much more involved. Should I take this issue ?

@spikeekips
Copy link
Contributor Author

spikeekips commented Dec 10, 2018

@Geod24 One thing I concern is the zero downtime for normal operations of SEBAK during rotation period.

@spikeekips spikeekips self-assigned this Dec 21, 2018
@spikeekips spikeekips linked a pull request Dec 21, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants