-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The default logger will try to query background et al on startup, which might conflict with other libs trying to query it too. It's easily reproducible with some of our tools that use the log package, e.g., VHS: ```sh faketty vhs --help ``` It slows down the program quite a bit, and print some ansi escape sequences as well. This patch changes it so it only inits the default logger when/if the default logger is used. Per my testing, it seems to fix the original issue.
- Loading branch information
Showing
1 changed file
with
42 additions
and
33 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