HomeFreeBSD

pkg: Add limited --debug/-d support

Description

pkg: Add limited --debug/-d support

Add an internal debug level global:

  • Level 1 (-d) currently does nothing.
  • Level 2 (-d -d) enables libfetch debugging (quite verbose) so it's possible to see what pkg is attempting to download without having to sniff traffic.

Reviewed by: debdrup, bapt
Differential Revision: https://reviews.freebsd.org/D35756

Details

Provenance
brooksAuthored on Aug 24 2022, 5:32 PM
Reviewer
debdrup
Differential Revision
D35756: pkg: Add limited --debug/-d support
Parents
rG8036234c72c9: netinet6: fix SIOCSPFXFLUSH_IN6 by skipping manually-configured prefixes
Branches
Unknown
Tags
Unknown