Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F4271781C for ; Fri, 17 Oct 2014 11:54:13 +0000 (UTC) Received: (qmail 42837 invoked by uid 500); 17 Oct 2014 11:54:13 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 42786 invoked by uid 500); 17 Oct 2014 11:54:13 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 42767 invoked by uid 99); 17 Oct 2014 11:54:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 11:54:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mh.olgun@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 11:54:06 +0000 Received: by mail-wg0-f45.google.com with SMTP id m15so729742wgh.4 for ; Fri, 17 Oct 2014 04:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=ltuqGZ4AZswVqNx2yoGuTliSgTCfotkCuDh1JJtLsHo=; b=yGhCe6qUVq1IrmvnFjWTMh2yrtOie47Pf0q3MuxG8sNnna46ei5umJLsk/r6/Pc0eW 3s56JT2vRjQiIboC2s2NSqluVRNsjv6HJiXfQ4J2HkshOSXikdD6TtcVmsBJyXr4x1+2 mQBc+MKtWZaFTFAL7NkRuIfIMFpMyaHmy4CcHjCJEjIx+wo1hrC6I1EObhnEg2dwfkm5 +cY9Brn/HTHjYlfVlKbjL7cc8j0dljqcP+BaxIWokg51DhhmPE3ngg5n+nS3edb/gN6k xbFAGN1uGXieUfdqTlZlXQVGiTpkUszPkQOFyyiy8Eqo1X1FNWLhJrSC7f/NeV1WnAGD kQOw== X-Received: by 10.180.10.231 with SMTP id l7mr28070485wib.1.1413546824768; Fri, 17 Oct 2014 04:53:44 -0700 (PDT) Received: from [192.168.2.101] ([78.188.227.46]) by mx.google.com with ESMTPSA id q9sm5404195wix.6.2014.10.17.04.53.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 04:53:44 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Logging From: Muhammed Olgun In-Reply-To: Date: Fri, 17 Oct 2014 14:53:40 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1C582273-0DEA-4BCF-8682-C17BCA47175F@gmail.com> To: dev@manifoldcf.apache.org X-Mailer: Apple Mail (2.1878.6) X-Virus-Checked: Checked by ClamAV on apache.org Hi Karl, You are right. Thank you. Muhammed=20 On 17 Oct 2014, at 13:49, Karl Wright wrote: > We *have* a feature that is cross-cluster and is meant for precisely = this > purpose. This is the history table. If Tika exceptions are not = logged as > the result of a transformation attempt in this table, they should be. >=20 > We've in general been slow to add support for activity logging in our > connectors; perhaps we should put our effort towards fixing that = problem. >=20 > Thanks, > Karl >=20 >=20 > On Fri, Oct 17, 2014 at 6:46 AM, Karl Wright = wrote: >=20 >> Hi Muhammed, >>=20 >> In a cluster, where do you expect to look for the log file? The log = will >> only apply to the cluster member running the crawler UI. >>=20 >> Karl >>=20 >>=20 >> On Fri, Oct 17, 2014 at 5:59 AM, Muhammed Olgun >> wrote: >>=20 >>> Hi Karl, >>>=20 >>> I think that we can also read logging.ini file from the MCF and = show, for >>> instance, last 50 lines of log file. >>>=20 >>> We can see that is the document processed or not from the document = status >>> report but we cannot see that why the document isn't processed. May = be >>> document isn't processed because there was a tika exception or = something >>> different. We have to check the log file. >>>=20 >>> If we can add such a feature, we will check the log file easily and = we >>> won=92t have to access the server to check the log file. >>>=20 >>> Muhammed >>>=20 >>>=20 >>> On 17 Oct 2014, at 11:53, Karl Wright wrote: >>>=20 >>>> Hi Muhammed, >>>>=20 >>>> The problems with that idea are several: >>>>=20 >>>> (1) You don't know where the logs are, or if/when they rolled. All = of >>> that >>>> is configured in the logging.ini file. >>>> (2) The logs may be very very large. >>>> (3) The logs are meant for a different sort of user than the = typical UI >>>> user. >>>>=20 >>>> The only programs I know who allow you to view logs capture them >>> explicitly >>>> themselves, for example Jenkins. >>>>=20 >>>> It is probably far better to capture more kinds of activities in = the >>> simple >>>> history than to try to provide a log viewer in the UI. Can you = describe >>>> what you would want to look for? >>>>=20 >>>> Karl >>>>=20 >>>>=20 >>>>=20 >>>> On Fri, Oct 17, 2014 at 4:40 AM, Muhammed Olgun = >>> wrote: >>>>=20 >>>>> Hi, >>>>>=20 >>>>> I was thinking that we should add a feature which shows = manifoldcf.log >>> in >>>>> MCF's control panel. What do you think about it? >>>>>=20 >>>>> Muhammed >>>>>=20 >>>=20 >>>=20 >>=20