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

Various minor logging improvements #676

Merged
merged 6 commits into from
May 23, 2024
Merged

Conversation

rhansen
Copy link
Member

@rhansen rhansen commented May 23, 2024

No description provided.

Rationale:
  * Logging to STDERR enables separation of processable output (e.g.,
    `--version` or `--help`) and ephemeral status/error messages.
  * A single file descriptor for all log messages makes it easier for
    users to capture all log messages.
  * Consistency: it's what most utilities do.
This avoids problems when logging a string that might have
metacharacters.
This makes it easier to tell where multi-line log messages begin and
end.
@rhansen rhansen merged commit 65fb4db into ddclient:master May 23, 2024
11 checks passed
@rhansen rhansen deleted the logging branch May 23, 2024 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant