Only rotate logs if user didn't specify a log file

This commit is contained in:
Michael Vetter
2020-12-11 11:33:34 +01:00
parent 57666bcb77
commit 0277ffe6ae
2 changed files with 8 additions and 2 deletions

View File

@@ -1857,7 +1857,7 @@ static struct cmd_t command_defs[] = {
"Manage profanity log settings.")
CMD_ARGS(
{ "where", "Show the current log file location." },
{ "rotate on|off", "Rotate log, default on." },
{ "rotate on|off", "Rotate log, default on. Does not take effect if you specified a filename yourself when starting Profanity." },
{ "maxsize <bytes>", "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. Does not take effect if you specified a filename yourself when starting Profanity." })
CMD_NOEXAMPLES