containers / fetchit

FetchIt is used to manage the life cycle and configuration of Podman containers
https://fetchit.readthedocs.io/
GNU Affero General Public License v3.0
124 stars 23 forks source link

Add env. var. to enable debug logging #274

Closed cevich closed 1 year ago

cevich commented 1 year ago

Small convenience update. Simply set -e FETCHIT_DEBUG=1 (or any value), and it will start logging debug-level messages. Given the lack of unit-tests (I hear they're a PITA in golang) being able to switch this on/off will greatly assist developers debugging their own shenanigans.

cevich commented 1 year ago

This should be ready, PTAL (golang is not my native language).

cooktheryan commented 1 year ago

@sallyom can you take a look at this and why it failed gitsign?

cevich commented 1 year ago

Force-push: Rebased on main.

cevich commented 1 year ago

Force-push: Removed unrelated white-space change.

cevich commented 1 year ago

@sallyom ping - may you please take a look?

cooktheryan commented 1 year ago

LGTM