summaryrefslogtreecommitdiff
path: root/src/common/weeconfig.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-02-12 21:21:54 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-02-12 21:21:54 +0000
commit0473d2c8db2875bfd7049a94f662984a8e8f815b (patch)
tree17535cee7496da80bd6022bcaae3eaf94aeba707 /src/common/weeconfig.c
parent34ce958df991fcbfed772c591bcf2dc3c8e86b7a (diff)
downloadweechat-0473d2c8db2875bfd7049a94f662984a8e8f815b.zip
Plugins messages are logged with new config option (log_plugin_msg); on server buffer, only server messages are logged
Diffstat (limited to 'src/common/weeconfig.c')
-rw-r--r--src/common/weeconfig.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c
index 91b96fc2c..04e678f40 100644
--- a/src/common/weeconfig.c
+++ b/src/common/weeconfig.c
@@ -432,6 +432,7 @@ t_config_option weechat_options_history[] =
int cfg_log_auto_server;
int cfg_log_auto_channel;
int cfg_log_auto_private;
+int cfg_log_plugin_msg;
char *cfg_log_path;
char *cfg_log_timestamp;
int cfg_log_hide_nickserv_pwd;
@@ -449,6 +450,10 @@ t_config_option weechat_options_log[] =
N_("automatically log private chats"),
OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_FALSE,
NULL, NULL, &cfg_log_auto_private, NULL, NULL },
+ { "log_plugin_msg", N_("log messages from plugins (scripts)"),
+ N_("log messages from plugins (scripts)"),
+ OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_FALSE,
+ NULL, NULL, &cfg_log_plugin_msg, NULL, NULL },
{ "log_path", N_("path for log files"),
N_("path for WeeChat log files"),
OPTION_TYPE_STRING, 0, 0, 0,