canonical/multipass

[sshfs] Multipass logs leaking filepaths from CI environments

已關閉

#4,195 建立於 2025年6月30日

 (1 則留言) (0 個反應) (0 位負責人)C++ (634 個分叉)batch import
buggood first issuelow

倉庫指標

星標
 (6,956 顆星)
PR 合併指標
 (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.

貢獻者指南