neoave / mrack

Multicloud use-case based multihost async provisioner for CIs and testing during development
Apache License 2.0
11 stars 14 forks source link

Give context to output #23

Closed netoarmando closed 3 years ago

netoarmando commented 4 years ago

Goal is to print this:

OpenStack: Issuing provisioning of 3 hosts
Beaker: Issuing provisioning of 2 hosts

Instead of:

Issuing provisioning of 3 hosts
Issuing provisioning of 2 hosts

Logging filters can be used for that (https://docs.python.org/3/howto/logging-cookbook.html#filters-contextual)


_This was discussed at: https://github.com/pvoborni/mrack/pull/20#discussion_r478353983_