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

Backport: Fix panic if logging directory cannot be generated (#2571) #2583

Merged
merged 1 commit into from
Sep 19, 2016

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Sep 19, 2016

Backport of #2571. Original message:

  • Assigns log rotator only after successful creation. Otherwise panic can happen during shutdown if directory cannot be generated as it tries to log.

Closes #2490

* Assigns log rotator only after successful creation. Otherwise panic can happen during shutdown if directory cannot be generated as it tries to log.

Closes elastic#2490
@tsg
Copy link
Contributor Author

tsg commented Sep 19, 2016

The Jenkins failure seems not related.

@monicasarbu monicasarbu merged commit 786d9c9 into elastic:5.0 Sep 19, 2016
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Backport: Fix panic if logging directory cannot be generated (elastic#2571)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants