Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 92109 invoked from network); 21 Feb 2006 02:36:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Feb 2006 02:36:51 -0000 Received: (qmail 92365 invoked by uid 500); 21 Feb 2006 02:36:50 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 92313 invoked by uid 500); 21 Feb 2006 02:36:50 -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 92302 invoked by uid 99); 21 Feb 2006 02:36:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 18:36:48 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 5404CDD for ; Tue, 21 Feb 2006 03:36:27 +0100 (CET) Message-ID: <911670728.1140489387341.JavaMail.jira@ajax.apache.org> Date: Tue, 21 Feb 2006 03:36:27 +0100 (CET) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-583) org.apache.ldap.common.message.SearchRequestImpl needs to implement toString() In-Reply-To: <919867648.1140485304658.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-583?page=comments#action_12367119 ] Alex Karasulu commented on DIRSERVER-583: ----------------------------------------- One word: patch. :). Give a committer a patch he can apply and well things get done faster. Take a look at svn diff. > org.apache.ldap.common.message.SearchRequestImpl needs to implement toString() > ------------------------------------------------------------------------------ > > Key: DIRSERVER-583 > URL: http://issues.apache.org/jira/browse/DIRSERVER-583 > Project: Directory ApacheDS > Type: Bug > Components: ldap > Versions: 1.0-RC1 > Environment: N/A > Reporter: Norbert Reilly > > The other message classes implement friendly toString()s, but the search request doesn't meaning the default INFO level is of very little use for debugging. I set the priority as major because this severely impacts debugging system behaviour, and certainly will be noticed by new users installing RC1 (and may prevent them for providing the raw material to help in raising JIRA issues). > Some example output (notice the RECEIVED message is a generic java.lang.Object.toString()): > [21/02/2006 11:06:42] [/155.35.171.101:2351] SENT: BindResponse > Ldap Result > Result code : (ResultCodeEnum[SUCCESS=0]) success > Matched DN : 'null' > Error message : 'null' > [21/02/2006 11:06:42] [/155.35.171.101:2351] RECEIVED: org.apache.ldap.common.message.SearchRequestImpl@132ae7 > [21/02/2006 11:06:42] [/155.35.171.101:2351] WRITE: Search Result Entry > Object Name : 'cn=ETA1,dc=example,dc=com' > Attributes > Attributes -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira