goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.5k stars 470 forks source link

Allow log level to be set and filtering logs accordingly #802

Closed obourdon closed 1 year ago

obourdon commented 1 year ago
Checklist

Description of change

Some of the goss default logging messages might be seen as not very useful. This fix allow easy log level customisation and filtering

Reopen of PR https://github.com/goss-org/goss/pull/641

obourdon commented 1 year ago

Only real comment is if we can expose these new config items in the embedded scenarios

not sure I fully understand what you meant here or may be this is related to what you wrote later concerning programmatic reconfiguration

aelsabbahy commented 1 year ago

I am ok with merging as is. I am the main user of the embedded behaviours (that this enables) so can also propose a follow up PR for that

Thank you for the review.

@obourdon thank you for taking the time to submit this PR.. twice (apologies for that)