From dev-return-28269-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Wed Dec 03 23:20:36 2008 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 12221 invoked from network); 3 Dec 2008 23:20:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2008 23:20:35 -0000 Received: (qmail 2656 invoked by uid 500); 3 Dec 2008 23:20:47 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 2628 invoked by uid 500); 3 Dec 2008 23:20:47 -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 2616 invoked by uid 99); 3 Dec 2008 23:20:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 15:20:46 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 23:19:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 87D6E234C2AD for ; Wed, 3 Dec 2008 15:19:44 -0800 (PST) Message-ID: <805289583.1228346384555.JavaMail.jira@brutus> Date: Wed, 3 Dec 2008 15:19:44 -0800 (PST) From: "Norval Hope (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (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 [ https://issues.apache.org/jira/browse/DIRSERVER-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norval Hope closed DIRSERVER-583. --------------------------------- > org.apache.ldap.common.message.SearchRequestImpl needs to implement toString() > ------------------------------------------------------------------------------ > > Key: DIRSERVER-583 > URL: https://issues.apache.org/jira/browse/DIRSERVER-583 > Project: Directory ApacheDS > Issue Type: Improvement > Components: ldap > Affects Versions: 1.0-RC1 > Environment: N/A > Reporter: Norval Hope > Assignee: Emmanuel Lecharny > Attachments: searchreq_tostring.patch, searchreq_tostring2.patch > > > 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. - You can reply to this email to add a comment to the issue online.