From 633165fd13d2fdb0a530affdd5c78873d84d4023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Mon, 5 Oct 2020 17:03:45 +0200 Subject: [PATCH] Log stale lock files in verbose mode only Actually do what the comment says is intended. wxLogInfo() and wxLogVerbose() differ in that only the latter must be explicitly enabled with --verbose. --- src/unix/snglinst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/snglinst.cpp b/src/unix/snglinst.cpp index 0c8d4275ef..9c64ffbf6f 100644 --- a/src/unix/snglinst.cpp +++ b/src/unix/snglinst.cpp @@ -298,7 +298,7 @@ bool wxSingleInstanceCheckerImpl::Create(const wxString& name) // message is that the previous instance of the program // crashed), don't show it by default, i.e. unless the // program is running with --verbose command line option. - wxLogInfo(_("Deleted stale lock file '%s'."), + wxLogVerbose(_("Deleted stale lock file '%s'."), name.c_str()); // retry now