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

Non-existing location for default gc.log file #8471

Closed
ankon opened this issue Nov 13, 2014 · 1 comment
Closed

Non-existing location for default gc.log file #8471

ankon opened this issue Nov 13, 2014 · 1 comment
Labels
>bug :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts help wanted adoptme Team:Delivery Meta label for Delivery team

Comments

@ankon
Copy link
Contributor

ankon commented Nov 13, 2014

bin/elasticsearch.in.sh specifies that the GC log file should be stored at /var/log/elasticsearch/gc.log (when ES_USE_GC_LOGGING is set).

This location would not exist by default, and I also think it is a rather odd place given that other logs end up in the (existing) logs directory.

Could this be changed to

  1. by default use $ES_HOME/logs/gc.log
  2. be overrideable by another setting so one doesn't need to modify the script file

This issue has now caused about 50% of my node restarts when updating ... I always forget about it, see the error, wait for the cluster to be reasonable, and then restart again :)

@clintongormley clintongormley added help wanted adoptme >bug :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts labels Nov 13, 2014
@ankon
Copy link
Contributor Author

ankon commented Nov 18, 2014

PR #8479 has a fix for this issue.

Note that the windows .bat file already did the right thing, so the PR makes windows and !windows behave in the same way, and then adds the ability to configure the name of the log file from the outside.

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts help wanted adoptme Team:Delivery Meta label for Delivery team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants