Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 44921 invoked from network); 9 Dec 2004 22:49:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Dec 2004 22:49:58 -0000 Received: (qmail 36014 invoked by uid 500); 9 Dec 2004 22:49:56 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 35995 invoked by uid 500); 9 Dec 2004 22:49:56 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 35978 invoked by uid 99); 9 Dec 2004 22:49:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 14:49:55 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id iB9Mnrs2027437 for ; Thu, 9 Dec 2004 23:49:53 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id iB9MnruB027435; Thu, 9 Dec 2004 23:49:53 +0100 Date: Thu, 9 Dec 2004 23:49:53 +0100 Message-Id: <200412092249.iB9MnruB027435@ajax.apache.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 32618] - Enterprise Commons Logging : Globalization & more X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32618 ------- Additional Comments From rsitze@apache.org 2004-12-09 23:49 ------- B.1. Functional alignment with JSR-47 concepts. JSR-47 has 3 trace levels: FINE, FINER, FINEST JCL has 2 trace levels defined today: debug, trace which corresponds to JSR-47 FINE and FINEST in the current implementation. The JSR-47 FINER level has no corresponding APIs in JCL. The expectation is that the FINER level be used for "class/method level flow". We propose a set of API's that would correspond to the JSR-47 FINER LEVEL, but more generally support the "class/method level flow" logging. - enter(Class clazz, String methodName, Object message); - enter(Class clazz, String methodName, Object methodArg, Object message) - enter(Class clazz, String methodName, Object[] methodArgs, Object message); - exit(Class clazz, String methodName, Object result, Object message); - exit(Class clazz, String methodName, Throwable exception, Object message); These being "new" API's, it is reasonable to have 'Log' level behavior... updating Log or only supporting in EnterpriseLog might be an interesting discussion point. The JCL debug level is described (in the user's guide) as appropriate for "detailed information on the flow through the system." As a best practice, would like to suggest that this be for "component level flow", i.e. crossing component boundries. This being a guideline, we see no conflict with current usage. This is in-line with current JSR-47 expectations. This does raise a question: would a set of API's to support this notion be appropriate? Something along the order of: - enterComponent(String componentName, Class clazz, String methodName, ...); - etc. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org