Skip to content

Reduce log count #1769

Open
Open
@squirrelsc

Description

@squirrelsc

Those line will create a lot of lines in log, but it's worth to capture the errors in Python patterns. So please update the logic, copy_back the files, and then check them. It will reduce log, and the downloaded files can be used for troubleshooting.

grub_output = node.tools[Cat].read("/boot/grub2/grub.cfg", sudo=True)

log_output += cat.read("/var/log/syslog", force_run=True, sudo=True)

Metadata

Metadata

Assignees

Labels

good first issuesimple issue to help onboard to LISA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions