canonical/multipass

[sshfs] Multipass logs leaking filepaths from CI environments

Closed

#4,195 创建于 2025年6月30日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C++ (634 fork)batch import
buggood first issuelow

仓库指标

Star
 (6,956 star)
PR 合并指标
 (平均合并 16天 2小时) (30 天内合并 50 个 PR)

描述

In several compilation units, we are using the __FILE__ macro in logging messages. This is causing Multipass to leak file paths from our CI environment. i.e. [trace] [ssh process] /Users/cibot/actions-runner-2/_work/multipass-private/multipass-private/src/ssh/ssh_process.cpp:167 read_stream(type = 0, timeout = -1).

We should not be printing out the full path for the file. This part of the log message should either be removed or truncated to only include the top level src/ directory.

贡献者指南