Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 17218 invoked from network); 2 Jul 2010 17:47:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jul 2010 17:47:15 -0000 Received: (qmail 78135 invoked by uid 500); 2 Jul 2010 17:47:15 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 77934 invoked by uid 500); 2 Jul 2010 17:47:14 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 77926 invoked by uid 99); 2 Jul 2010 17:47:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 17:47:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 17:47:06 +0000 Received: by wwb24 with SMTP id 24so533689wwb.1 for ; Fri, 02 Jul 2010 10:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=kSqHFv2SYafnriier5NuVgRHsoCHTv2xTKwtWPhNvHg=; b=UhZn/TD5Zi2TZOdYJYLzq1C+jE8R2KBrC2nc5LLfwp1s4MDttUju5072Nuj/5/7Fgh P8z7VQa1eaQjpHwrbtrgUc7qKQXXMf3C7kPUh3EwMj3rlvgLgg7h+AkWXZtWmmay/b/K qO7cu0Vv7sv+UYpOj+oWRp4vX1VXJBQLM9Bf4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=BTDNv5qCrCoNFpDhWtocgQCNj1nLA2ylynlGKd0xiwfUW+KIcfe+TwhPIOBw6ed8TP gtafq22gyUOT3Wei2O42WgozGIweeaG0dmnj2fPGzeY9ZpMx04lJvNxk21H12EdsEI3Q BWn43eknzR1zUZSewBJNI0ha7yuDmfkn5RjmQ= Received: by 10.227.127.208 with SMTP id h16mr638652wbs.12.1278092806438; Fri, 02 Jul 2010 10:46:46 -0700 (PDT) Received: from emmanuel-lecharnys-MacBook-Pro.local ([78.192.106.184]) by mx.google.com with ESMTPS id a27sm6324786wbe.0.2010.07.02.10.46.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Jul 2010 10:46:44 -0700 (PDT) Message-ID: <4C2E2666.1040409@gmail.com> Date: Fri, 02 Jul 2010 19:48:22 +0200 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Lack of logs for the ACI sunsystem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, I'm going deeper, and start finding some bugs in the subsystem, plus many redondant operations. Sounds good, however, the lack of logs makes it *very* difficult to understand what's going on when debugging the whole stuff. We are now at a point where if we want to give some help to our users, we *need* to provide a way to understand what's going on : there is no way we will step into the code checking the users' ACIs to see what's going wrong everytime a user has a problem with an ACI. I suggest we add some dedicated loggers, like a ACI_LOG logger, which will only gather the ACI related traces. If we want to see what's gone wild, we just have to enable this specific logger and check the logs. We should also have other specific loggers, like : - encoder/decoder logger (or PDU logs) - search filter logger (to know which filter is responsible for the rejection of an entry) - SP/Triggers logger - Ldap session logger (and it should be possible to activate such a log for a single session) - Authentication logger - backend logger - replication logger - cache logger (what is in cache, what is not) There may be more, but at least, we should think about such a system. It may be added later (like for 2.1), and it should be dynamic, but it's mandatory IMO. thoughts ? -- Regards, Cordialement, Emmanuel L�charny www.iktek.com