action #6660
Updated by szarate over 7 years ago
The worker app instead of print ... if $verbose we should use Mojo::Log by setting up a mojo fake app, to ensure that mojo::log in the logging facility is the same across all parts of openQA. mudler | log_* calls are checking if there is an app and route the messages to Mojo::Log mudler | https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/Utils.pm#L101 && mudler | https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/Utils.pm#L212 Using these different calls, leaves us with a bit of inconsistency when reading log output from different parts. worker.