Handle logs during container startup
Hello,
this MR adds support for collecting logs during container startup phase.
Changes:
- startup
errorlogs are collected regardless of whichLogPolicy
is used. - new
LogPolicy::OnStartupError
is used as escape hatch to avoid collecting logs during test execution phase. It should represent this hierarchy:Always
>OnError
>OnStartupError
. - functions
handle_logs()
andhandle_startup_logs()
now returns all errors to provide more info when something goes wrong with log handling.
Edited by Lukáš Kováč