From 47a447bf73f508d4984dad283f6650aa8cb3f8a5 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 11 Dec 2020 11:17:44 +0100 Subject: Shared log file needs a restart Tell user about this change. --- src/command/cmd_defs.c | 2 +- src/command/cmd_funcs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index e944aa66..03e1d4be 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -1859,7 +1859,7 @@ static struct cmd_t command_defs[] = { { "where", "Show the current log file location." }, { "rotate on|off", "Rotate log, default on." }, { "maxsize ", "With rotate enabled, specifies the max log size, defaults to 1048580 (1MB)." }, - { "shared on|off", "Share logs between all instances, default: on. When off, the process id will be included in the log filename." }) + { "shared on|off", "Share logs between all instances, default: on. When off, the process id will be included in the log filename. Does not take effect if you specified a filename yourself when starting Profanity." }) CMD_NOEXAMPLES }, diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 74052c9e..9784f388 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -6375,7 +6375,7 @@ cmd_log(ProfWin* window, const char* const command, gchar** args) return TRUE; } _cmd_set_boolean_preference(value, command, "Shared log", PREF_LOG_SHARED); - log_reinit(); + cons_show("Setting only takes effect after saving and restarting Profanity."); return TRUE; } -- cgit 1.4.1-2-gfad0