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

Improve logging for startup scripts on linux #1230

Merged

Commits on Oct 2, 2023

  1. Configuration menu
    Copy the full SHA
    21ea647 View commit details
    Browse the repository at this point in the history
  2. Remove redirecting echos and cats to stderr

    The command that sends the scripts output streams to the loggers merges
    stdout and stderr anyway, so there is no point in writing to stderr in
    the script.
    
    This is the logging command:
    ```
    exec > >(tee -a /var/log/elastic-stack.log | logger -t user-data -s 2>/dev/console) 2>&1
    ```
    it is present in each of these scripts.
    triarius committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    e8184d8 View commit details
    Browse the repository at this point in the history
  3. Tweak comments and logs

    triarius committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    3f8bdf9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    19b8bba View commit details
    Browse the repository at this point in the history