From 0be8e0828aa0629f1306d0f603042b15c58fb235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 9 Mar 2016 18:45:07 +0100 Subject: logger: add note on buffer local variables to use in /help logger.file.mask --- src/plugins/logger/logger-config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/logger/logger-config.c b/src/plugins/logger/logger-config.c index 49d28e0f1..f91f7887b 100644 --- a/src/plugins/logger/logger-config.c +++ b/src/plugins/logger/logger-config.c @@ -445,7 +445,9 @@ logger_config_init () N_("default file name mask for log files (format is " "\"directory/to/file\" or \"file\", without first \"/\" because " "\"path\" option is used to build complete path to file); local " - "buffer variables are permitted; date specifiers are permitted " + "buffer variables are permitted (you should use only variables " + "that are defined on all buffers, so for example you should NOT " + "use $server nor $channel); date specifiers are permitted " "(see man strftime)"), NULL, 0, 0, "$plugin.$name.weechatlog", NULL, 0, NULL, NULL, &logger_config_change_file_option_restart_log, NULL, NULL, NULL); -- cgit v1.2.3