Return-Path: Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: (qmail 45925 invoked from network); 4 Mar 2010 18:28:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 18:28:01 -0000 Received: (qmail 99183 invoked by uid 500); 4 Mar 2010 18:27:49 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 99151 invoked by uid 500); 4 Mar 2010 18:27:49 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 99143 invoked by uid 99); 4 Mar 2010 18:27:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 18:27:49 +0000 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; Thu, 04 Mar 2010 18:27:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 25A7A234C4BB for ; Thu, 4 Mar 2010 18:27:27 +0000 (UTC) Message-ID: <1277717735.76341267727247137.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Mar 2010 18:27:27 +0000 (UTC) From: =?utf-8?Q?Olivier_Mengu=C3=A9_=28JIRA=29?= To: c-dev@axis.apache.org Subject: [jira] Commented: (AXIS2C-1455) More flexibility in the logging subsystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1455?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128= 41437#action_12841437 ]=20 Olivier Mengu=C3=A9 commented on AXIS2C-1455: ---------------------------------------- The discussion continued on the mailing list, however I'm not sure there is= an archive as the mailing list changed of address. Anyway, it was a misunderstanding of the API on my part. Trying to reuse ax= util_log_create with my custom implementation was my mistake. The conclusion is that the API has already all the flexibility needed. I'll= post some sample code that demonstrates it. > More flexibility in the logging subsystem > ----------------------------------------- > > Key: AXIS2C-1455 > URL: https://issues.apache.org/jira/browse/AXIS2C-1455 > Project: Axis2-C > Issue Type: New Feature > Components: util > Affects Versions: 1.6.0, 1.7.0, Current (Nightly) > Reporter: Olivier Mengu=C3=A9 > > I am integrating Axis2/C in a bigger application that has its own logging= system. I would like to redirect Axis2/C logging operation to that logging= system instead of files. > In 1.6.0, Axis2/C is only able to log to files. Logging to files using th= e stdlib is hardcoded in the logging internal structures, and avoiding file= opening is not possible. > It should be possible to completely replace the logging operations, not j= ust "write" and "free". The base API should be more abstract, and the file= handles should be in the default logging implementation, not embeded in th= e base API. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org