forked from canonical/snapd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logger: allow logging HTTP traffic enabling all logs
When using SNAPD_DEBUG_HTTP, it was also necessary to set SNAPD_DEBUG for the HTTP traffic to be logged. So it was impossible to log the HTTP traffic without logging everything. This commit changes that so that setting the former logs the HTTP traffic and setting SNAPD_DEBUG enables the debug logs in the rest of snapd. Signed-off-by: Miguel Pires <miguel.pires@canonical.com>
- Loading branch information
1 parent
3d5b58b
commit 0728dfe
Showing
4 changed files
with
38 additions
and
7 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
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
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
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