Backblaze / boardwalk

A linear remote execution workflow engine built on top of Ansible
Other
18 stars 1 forks source link

Boardwalk CLI: Use python logger; have debug logs #53

Closed m4wh6k closed 1 year ago

m4wh6k commented 1 year ago

What and why?

This fixes #7 by using a logger for most log messages emitted by boardwalk. It also adds a new global CLI option and env variable to enable debug logging. Usage of ClickException is replaced by a new general "BoardwalkException" so that a logger can be used along with exception messages.

There are a couple known issues coming out of this:

How was this tested?

Tested locally using the test Boardwalkfile.py. Also some spot checking with a live workspace.

Checklist