diff --git a/src/octoprint/cli/systeminfo.py b/src/octoprint/cli/systeminfo.py index c63fddb6f..96666c071 100644 --- a/src/octoprint/cli/systeminfo.py +++ b/src/octoprint/cli/systeminfo.py @@ -90,6 +90,14 @@ def get_systeminfo_bundle(systeminfo, logbase, printer=None): if os.path.exists(logpath): z.write(logpath, arcname=log, compress_type=compress_type) + # add additional logs as needed + for log, logpath in { + "webcamd.log": "/var/log/webcamd.log", + "haproxy.log": "/var/log/haproxy.log", + }.items(): + if os.path.exists(logpath) and os.access(logpath, os.R_OK): + z.write(logpath, arcname=log, compress_type=compress_type) + return z