lib/Utils/Logging.pm

Utils::Logging

Utils::Logging - Save logs directly on the worker for offline upload via ulogs

save_ulog($out $filename);

Creates a file from a string, the file is then saved in the ulogs directory of the worker running isotovideo. This is particularily useful when the SUT has no network connection.

example:

$out = script_output('journalctl --no-pager -axb -o short-precise'); $filename = "my-test.log";