Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#15944 closed enhancement (fixed)

'Deleted stale lockfile' in wxSingleInstanceChecker has too high loglevel

Reported by: h.zeller@… Owned by:
Priority: normal Milestone:
Component: base Version:
Keywords: Cc:
Blocked By: Blocking:
Patch: yes

Description

The 'deleted stale lockfile' message in src/unix/snglinst.cpp has a too high verbosity level. It is a nice FYI, but since it is absolutely benign and entirely non-actionable by the user, it should be below the verbosity level of MESSAGE but rather be info.

Hence I propose to change wxLogMessage() to wxLogInfo().

See attached patch.

Attachments (1)

tune-stale-logfile-message.patch download (601 bytes) - added by h.zeller@… 11 months ago.
Proposed patch to this issue.

Download all attachments as: .zip

Change History (3)

Changed 11 months ago by h.zeller@…

Proposed patch to this issue.

comment:1 Changed 11 months ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [75838]) Don't show "deleted stale lock file" message by default.

The user typically can't do anything about this error anyhow, so don't show it
by default. Still do show it when running in the verbose mode as this might
add diagnosing the problem when something goes unexpectedly wrong.

Closes #15944.

comment:2 Changed 11 months ago by VZ

(In [75839]) Don't show "deleted stale lock file" message by default.

The user typically can't do anything about this error anyhow, so don't show it
by default. Still do show it when running in the verbose mode as this might
add diagnosing the problem when something goes unexpectedly wrong.

Closes #15944.

Note: See TracTickets for help on using tickets.