Return-Path: X-Original-To: apmail-isis-users-archive@www.apache.org Delivered-To: apmail-isis-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B895106D8 for ; Sun, 15 Sep 2013 11:36:59 +0000 (UTC) Received: (qmail 30907 invoked by uid 500); 15 Sep 2013 11:36:59 -0000 Delivered-To: apmail-isis-users-archive@isis.apache.org Received: (qmail 30847 invoked by uid 500); 15 Sep 2013 11:36:58 -0000 Mailing-List: contact users-help@isis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@isis.apache.org Delivered-To: mailing list users@isis.apache.org Received: (qmail 30838 invoked by uid 99); 15 Sep 2013 11:36:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Sep 2013 11:36:57 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [212.227.126.186] (HELO moutng.kundenserver.de) (212.227.126.186) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Sep 2013 11:36:51 +0000 Received: from [192.168.1.168] (35.Red-80-24-121.staticIP.rima-tde.net [80.24.121.35]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MLfvf-1VLRT90cIF-000qlz; Sun, 15 Sep 2013 13:36:04 +0200 References: <927145690655496622@unknownmsgid> Mime-Version: 1.0 (1.0) In-Reply-To: <927145690655496622@unknownmsgid> Content-Type: multipart/alternative; boundary=Apple-Mail-7FE92F63-EFDB-42D0-B415-7BF537FC3348 Content-Transfer-Encoding: 7bit Message-Id: <9550E07F-0F3A-436C-88B6-D474C846C94E@gesconsultor.com> Cc: "users@isis.apache.org" X-Mailer: iPhone Mail (10B329) From: GESCONSULTOR Subject: Re: Logging and debugging Date: Sun, 15 Sep 2013 13:35:51 +0200 To: "users@isis.apache.org" X-Provags-ID: V02:K0:ZeeP7duMMivIoa8H+vCZMcJEAfb3qTN5x2ijpd03rBy bTMlZ/6I2xN3No+yPku8Vx0Cok2u4y/slHGJw/sfWw8MuYEn7F 1j1UwmwGg11RLBAsJGZiTlEnd2SO3/fqPTCkXUooQBJHIFkGsF rEFZVdQo2H5s7PRmlkGrgZhbfKNSb4uCVZwAydocdRFuPWRK3z Gkj7jmGf25ZYzHXfp3xhPlIMADCmvZ+ptg2uClQt1l79BrIEgP Uri7ANzPX566GmhyJhplj98k0NPLFCgILFMrtj1UblF9vVhege LbNXXsPRaNrAK6QHzvVtSNHlhNx8xF93NncRsFgxS+MHiCK1XG y+D1ccTNWDkpUwrGMLQlehsHE+niqBGkRX+GmwID8GRtVBPQuL qCHw7882XRUiw== X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-7FE92F63-EFDB-42D0-B415-7BF537FC3348 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi James. You can find a simple example about what to add to a class for debugging on s= lf4j on this 10-slide presentation [1]. HTH Oscar [1] http://www.slf4j.org/slf4j-in-10-slides.ppt Disculpa que sea breve.=20 Enviado desde mi m=C3=B3vil El 15/09/2013, a las 12:55, james agada escribi=C3=B3= : > Pls give me a sample. I want to trace the execution of my code with > logging commands. >=20 > Sent from my iPhone >=20 > On Sep 15, 2013, at 10:27 AM, Dan Haywood w= rote: >=20 >> As Oscar says... just add logging to your entities using the slf4j API. >>=20 >> We still configure slf4j to use log4j underneath ... in the >> logging.properties file alongside isis.properties. >>=20 >> Dan >>=20 >>=20 >>=20 >>=20 >> On 15 September 2013 08:36, GESCONSULTOR wrote: >>=20 >>> There was a recent commit migrating all log4j dependencies to slf4j, but= >>> you can use any library you want. >>>=20 >>> On the Isis documentation page are some tips about JDO logging etc. >>>=20 >>> [1] http://isis.apache.org/documentation.html >>>=20 >>>=20 >>>=20 >>> El 14/09/2013, a las 19:07, james agada escribi=C3= =B3: >>>=20 >>>> 1. How can i include logging in my dom and service code? >>>> 2. I want to use the logging to help with debugging. Is there a better >>> way >>>> to debug? >>>=20 --Apple-Mail-7FE92F63-EFDB-42D0-B415-7BF537FC3348--