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

Rotate logs #347

Merged
merged 3 commits into from
Apr 5, 2018
Merged

Rotate logs #347

merged 3 commits into from
Apr 5, 2018

Commits on Apr 5, 2018

  1. Reopen file/program outputs on SIGUSR1

    When signaled with SIGUSR1, close and reopen file and program based
    outputs. This is useful when combined with logrotate to rotate logs.
    mstemm committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    e66122e View commit details
    Browse the repository at this point in the history
  2. Example logrotate config

    Example logrotate config that relies on SIGUSR1 to rotate logs.
    mstemm committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    43ad29a View commit details
    Browse the repository at this point in the history
  3. Ensure options exist for all outputs

    Options may not be provided for some outputs (like stdout), so create an
    empty set of options in that case.
    mstemm committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    ffd8747 View commit details
    Browse the repository at this point in the history