From 7614e68233a0db1803f807afd47a52c66b4ebb3a Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Wed, 21 Dec 2022 13:53:51 +0100 Subject: [PATCH] external_files: set log level for potential files to trace We ask users to freely share log files with us, which is usually okay, unless a user has some unrelated and potentially embarrassing files in their working directory. These would show up in the debug level message output that --log-file enables. Change the listing of potential external files to trace log level, to save the users and the developers the embarrassment. --- player/external_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/external_files.c b/player/external_files.c index d1bc4e53df..031b118f4c 100644 --- a/player/external_files.c +++ b/player/external_files.c @@ -254,7 +254,7 @@ static void append_dir_subtitles(struct mpv_global *global, struct MPOpts *opts, if (!limit_fuzziness && fuzz >= 2) prio |= 1; - mp_dbg(log, "Potential external file: \"%s\" Priority: %d\n", + mp_trace(log, "Potential external file: \"%s\" Priority: %d\n", de->d_name, prio); if (prio) {