Olivier Salaün - CRU wrote: > Could you please precise what kind of log entries you consider useless. > > These log entries could either be removed or filtered depending on the > log_level parameter... >
Sure! I did start looking into the code, and noticed it uses the do_log function to log stuff, but I couldn't spend enough time to work out what settings I should set to improve my situation. At the moment I've left the log setup to the defaults on my install, as shown with this grep: ~$ sudo grep log /etc/sympa/sympa.conf ## Directory containing available NLS catalogues (Message internationalization) ###\\\\ Syslog ////### ## The syslog facility for sympa ## Do not forget to edit syslog.conf syslog LOCAL1 ## Communication mode with syslogd is either unix (via Unix sockets) or inet (use of UDP) log_socket_type unix log_level 0 I've included the following examples from my logs. I don't really know sympa well enough to know which ones are actually an indication of a problem with my setup. Possibly the "Warning: entry with empty email address" line I'd expect to show. But the rest looks more like debug messages, so you can tell what sympa is upto if you need to work while it's breaking. Example log lines are: Nov 24 12:25:54 mel02 task_manager[735]: Processing automatic actions on bouncing users Nov 24 12:25:54 mel02 task_manager[735]: Warning: entry with empty email address in list list1 Nov 24 12:25:54 mel02 task_manager[735]: Warning: entry with empty email address in list listtest3 Nov 24 12:25:54 mel02 task_manager[735]: line 7 of 1132795537.ACTION.process_bouncers._global : next (1133400354, ACTION) Nov 24 12:25:54 mel02 task_manager[735]: creation of /var/spool/sympa/task/1133400354.ACTION.process_bouncers._global Nov 24 12:25:54 mel02 task_manager[735]: with model /usr/share/sympa/global_task_models/process_bouncers.weekly.task Nov 24 12:25:54 mel02 task_manager[735]: --> new task process_bouncers ( 1 Thu Dec 2005 12 h 25 min 54 s) Nov 24 12:47:54 mel02 task_manager[735]: eval_bouncers(list1) Nov 24 12:47:54 mel02 task_manager[735]: eval_bouncers(listtest) Nov 24 12:47:54 mel02 task_manager[735]: eval_bouncers(listtest3) Nov 24 12:47:54 mel02 task_manager[735]: line 7 of 1132796838.ACTION.eval_bouncers._global : next (1132883274, ACTION) Nov 24 12:47:54 mel02 task_manager[735]: creation of /var/spool/sympa/task/1132883274.ACTION.eval_bouncers._global Nov 24 12:47:54 mel02 task_manager[735]: with model /usr/share/sympa/global_task_models/eval_bouncers.daily.task Nov 24 12:47:54 mel02 task_manager[735]: --> new task eval_bouncers (25 Fri Nov 2005 12 h 47 min 54 s) Nov 24 12:47:55 mel02 task_manager[735]: line 9 of 1132796838.ACTION.expire_bounce._global : next (1132883275, ACTION) Nov 24 12:47:55 mel02 task_manager[735]: creation of /var/spool/sympa/task/1132883275.ACTION.expire_bounce._global Nov 24 12:47:55 mel02 task_manager[735]: with model /usr/share/sympa/global_task_models/expire_bounce.daily.task Nov 24 12:47:55 mel02 task_manager[735]: --> new task expire_bounce (25 Fri Nov 2005 12 h 47 min 55 s) Nov 30 10:38:18 mel02 wwsympa[3747]: WWSympa started Nov 30 10:38:18 mel02 wwsympa[3747]: [robot mails.strategicdata.com.au] [client 203.113.193.187] do_lists(,) Nov 30 10:38:36 mel02 wwsympa[3749]: WWSympa started Nov 30 10:38:36 mel02 wwsympa[3749]: [robot mails.strategicdata.com.au] [client 203.113.193.187] do_loginrequest Nov 30 10:38:55 mel02 wwsympa[3751]: WWSympa started Nov 30 10:38:55 mel02 wwsympa[3751]: [robot mails.strategicdata.com.au] [client 203.113.193.187] do_login([EMAIL PROTECTED]) Nov 30 10:38:57 mel02 wwsympa[3753]: WWSympa started Nov 30 10:38:57 mel02 wwsympa[3753]: [robot mails.strategicdata.com.au] [client 203.113.193.187] [user [EMAIL PROTECTED] do_lists(,) Nov 30 10:39:11 mel02 wwsympa[3755]: WWSympa started Nov 30 10:39:11 mel02 wwsympa[3755]: [robot mails.strategicdata.com.au] [client 203.113.193.187] [user [EMAIL PROTECTED] do_create_list_request() Nov 30 10:40:38 mel02 wwsympa[3758]: WWSympa started Nov 30 10:40:38 mel02 wwsympa[3758]: [robot mails.strategicdata.com.au] [client 203.113.193.187] [user [EMAIL PROTECTED] do_create_list(,test,html-news-letter) Nov 30 10:40:38 mel02 wwsympa[3758]: [robot mails.strategicdata.com.au] [client 203.113.193.187] [user [EMAIL PROTECTED] do_create_list: missing param listname Nov 30 10:40:38 mel02 wwsympa[3758]: Parser [226] parse_tpl() in : missing template parameter Nov 30 10:40:59 mel02 wwsympa[3760]: WWSympa started Nov 30 10:40:59 mel02 wwsympa[3760]: [robot mails.strategicdata.com.au] [client 203.113.193.187] [user [EMAIL PROTECTED] do_which Nov 30 10:41:18 mel02 wwsympa[3762]: WWSympa started Nov 30 10:41:18 mel02 wwsympa[3762]: [robot mails.strategicdata.com.au] [client 203.113.193.187] [user [EMAIL PROTECTED] do_pref Nov 30 10:41:26 mel02 wwsympa[3764]: WWSympa started Nov 30 10:41:27 mel02 wwsympa[3764]: [robot mails.strategicdata.com.au] [client 203.113.193.187] [user [EMAIL PROTECTED] do_serveradmin Nov 30 10:41:37 mel02 wwsympa[3766]: WWSympa started Nov 30 10:41:37 mel02 wwsympa[3766]: [robot mails.strategicdata.com.au] [client 203.113.193.187] [user [EMAIL PROTECTED] do_create_list_request() Thanks! -- Geoff Crompton Debian System Administrator Strategic Data +61 3 9340 9000

