-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logging: split journal stream checks from protocol upgrading
This introduces two new helpers to separately check whether stdout or stderr are connected to a journal stream. More importantly, it changes `connected_to_journal()` behavior to only check stderr. These changes are meant to logically split the `$JOURNAL_STREAM` helpers from protocol upgrading. The former concern low-level settings which can be set on stdout and stderr separately. The latter instead is an high-level concept which assumes that all the logging happens on stderr.
- Loading branch information
Showing
1 changed file
with
45 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters