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

Don't close stderr under --quiet #49431

Merged

Commits on Nov 21, 2019

  1. Don't close stderr under --quiet (elastic#47208)

    Closes elastic#46900. When running ES with `--quiet`, if ES then exits abnormally, a
    user has to go hunting in the logs for the error. Instead, never close
    System.err, and print more information to it if ES encounters a fatal error
    e.g. config validation, or some fatal runtime exception. This is useful when
    running under e.g. systemd, since the error will go into the journal.
    
    Note that stderr is still closed in daemon (`-d`) mode.
    pugnascotia committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    fe1dbd4 View commit details
    Browse the repository at this point in the history