Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F7E118DEB for ; Mon, 25 Apr 2016 07:03:31 +0000 (UTC) Received: (qmail 48302 invoked by uid 500); 25 Apr 2016 07:03:31 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 48247 invoked by uid 500); 25 Apr 2016 07:03:31 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 48238 invoked by uid 99); 25 Apr 2016 07:03:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2016 07:03:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id CA12AC0257 for ; Mon, 25 Apr 2016 07:03:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id GbtpqYTxbZys for ; Mon, 25 Apr 2016 07:03:29 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id DC12F5F3A0 for ; Mon, 25 Apr 2016 07:03:28 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0600EE031A for ; Mon, 25 Apr 2016 07:03:27 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id A3A533A0674 for ; Mon, 25 Apr 2016 07:03:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1740765 - /sling/site/trunk/content/documentation/bundles/log-tracers.mdtext Date: Mon, 25 Apr 2016 07:03:27 -0000 To: commits@sling.apache.org From: chetanm@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160425070327.A3A533A0674@svn01-us-west.apache.org> Author: chetanm Date: Mon Apr 25 07:03:26 2016 New Revision: 1740765 URL: http://svn.apache.org/viewvc?rev=1740765&view=rev Log: SLING-5505 - Allow recording of caller stacktrace with the logs Modified: sling/site/trunk/content/documentation/bundles/log-tracers.mdtext Modified: sling/site/trunk/content/documentation/bundles/log-tracers.mdtext URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/log-tracers.mdtext?rev=1740765&r1=1740764&r2=1740765&view=diff ============================================================================== --- sling/site/trunk/content/documentation/bundles/log-tracers.mdtext (original) +++ sling/site/trunk/content/documentation/bundles/log-tracers.mdtext Mon Apr 25 07:03:26 2016 @@ -47,7 +47,14 @@ Where the config is of following format attributes := attributeName '=' attributeValue Currently following attributes are support + * `level` - Either of TRACE, DEBUG, INFO, WARN, ERROR +* `caller` - Used to dump stacktrace of caller. It can have following value (_since 1.0.0_, [SLING-5505][SLING-5505]) + * `true` - Complete call stack for that logger would be included + * `` - Call stack upto depth (integer) would be included e.g. caller=5 +* `caller-exclude-filter` - (optional) - '|' separated package prefixes which should not be + included in the output. e.g. _org.apache.jackrabbit.oak.query.QueryImpl;caller=28;caller-exclude-filter="org.eclipse|org.felix"_ + this would exclude eclipse and felix packages from the resulting stack ### Performance Impact @@ -169,4 +176,5 @@ Download the bundle from [here][5] or us [3]: https://sling.apache.org/apidocs/sling5/org/apache/sling/api/request/RequestProgressTracker.html [4]: http://dev.day.com/content/ddc/blog/2008/06/requestprogresstracker.html [SLING-4739]: https://issues.apache.org/jira/browse/SLING-4739 +[SLING-5505]: https://issues.apache.org/jira/browse/SLING-5505 [5]: http://sling.apache.org/downloads.cgi