Subject: Developers of Sympa
List archive
- From: address@concealed
- To: address@concealed
- Subject: incorrect logs of ldap query
- Date: Mon, 3 Dec 2001 16:51:32 +0100
Hi,
I found strange that queries logged in sympa differs from my on line queries.
I found 1222 entries but it was written 1131..
I had a look at the source of List.pm
foreach my $email (@emails) {
next if ($email =~ /^\s*$/);
my %u = %{$default_user_options};
$u{'email'} = $email;
$u{'date'} = time;
$u{'update_date'} = time;
## should consult user default options
unless ($users->{$email}) {
$total++;
$users->{$email} = join("\n", %u);
}
}
do_log ('debug',"unbinded from LDAP server %s:%s ",$host,$port) if
($main::options{'debug'});
do_log ('debug','%d subscribers included from LDAP query',$total);
In fact I found that some people has the same address (collective).
I was anxious about missing some people in the filter.
I suggest to write in the logs:
if possible the list name..if not the ldap filter ( may be large..)
The correct answer should be:
found 1222 subscribers , kept 1131 different emails on list XXXX
It would have saved me some usefull time
Thanks in advance
Dom
- incorrect logs of ldap query, lalot, 12/03/2001
Archive powered by MHonArc 2.6.19+.