diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-02 12:13:24 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-11 21:06:49 +0200 |
commit | 005ef8a4a9bacd06a5be4f79b62aa67ad11dbb37 (patch) | |
tree | 5d2382a6ecc4c432c656228b34a06ced001577a7 | |
parent | 7e79145d4688fb03c00f1714d4f60c116275bfed (diff) | |
download | weechat-005ef8a4a9bacd06a5be4f79b62aa67ad11dbb37.zip |
logger: change default value of option logger.file.path to "${weechat_data_dir}/logs" (issue #1285)
-rw-r--r-- | src/plugins/logger/logger-config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/logger/logger-config.c b/src/plugins/logger/logger-config.c index ff9b83021..c3a3020c4 100644 --- a/src/plugins/logger/logger-config.c +++ b/src/plugins/logger/logger-config.c @@ -560,11 +560,11 @@ logger_config_init () logger_config_file_path = weechat_config_new_option ( logger_config_file, ptr_section, "path", "string", - N_("path for WeeChat log files; \"%h\" at beginning of string is " - "replaced by WeeChat home (\"~/.weechat\" by default); date " - "specifiers are permitted (see man strftime) " - "(note: content is evaluated, see /help eval)"), - NULL, 0, 0, "%h/logs/", NULL, 0, + N_("path for WeeChat log files; " + "date specifiers are permitted (see man strftime) " + "(path is evaluated, see function string_eval_path_home in " + "plugin API reference)"), + NULL, 0, 0, "${weechat_data_dir}/logs", NULL, 0, NULL, NULL, NULL, &logger_config_change_file_option_restart_log, NULL, NULL, NULL, NULL, NULL); |