Return-Path: X-Original-To: apmail-any23-user-archive@www.apache.org Delivered-To: apmail-any23-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C68AD10D01 for ; Tue, 11 Mar 2014 22:16:33 +0000 (UTC) Received: (qmail 74375 invoked by uid 500); 11 Mar 2014 22:16:32 -0000 Delivered-To: apmail-any23-user-archive@any23.apache.org Received: (qmail 74323 invoked by uid 500); 11 Mar 2014 22:16:32 -0000 Mailing-List: contact user-help@any23.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@any23.apache.org Delivered-To: mailing list user@any23.apache.org Received: (qmail 74304 invoked by uid 99); 11 Mar 2014 22:16:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 22:16:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lewis.mcgibbney@gmail.com designates 209.85.192.47 as permitted sender) Received: from [209.85.192.47] (HELO mail-qg0-f47.google.com) (209.85.192.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 22:16:27 +0000 Received: by mail-qg0-f47.google.com with SMTP id 63so8137845qgz.6 for ; Tue, 11 Mar 2014 15:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XbrdW8iBQ2BbOWsDxj5wHDQHrE1sVRJkdN0fyDNJNiY=; b=T67E3URMGW2xY+7dm1lnpvl25hbViNFy1oEC2QKanU1DQlaNDIhtoHZ0ZeHDDnHCG6 eN+/agUGegLqAXpLtMPv9t8J0eeWWjaG0PMJNROdWQugbHNUWTWaQ6+01q5WElc8cB7A vlRJnGULxjWpaw33PqwoSXkbUR2L03PFfTojbzIsTgvoPh176RfihKk0IoDsop4sQvof BtcFmtUwW67LpvEErugUXCMorKbvLT1J2sQWkP/8mi6erZtLzDS6JSEYetgC4GP93YI+ GOfTUrLQouJo/pPFZ8Si3pB0DPew1o1s8FxtfcyqIWdmEUva8U2Mx2c+AhR50yIUU7LT rjqg== MIME-Version: 1.0 X-Received: by 10.140.37.47 with SMTP id q44mr48725737qgq.57.1394576166940; Tue, 11 Mar 2014 15:16:06 -0700 (PDT) Received: by 10.96.188.68 with HTTP; Tue, 11 Mar 2014 15:16:06 -0700 (PDT) Date: Tue, 11 Mar 2014 22:16:06 +0000 Message-ID: Subject: Re: Stop configuration properties from being logged From: Lewis John Mcgibbney To: user@any23.apache.org Content-Type: multipart/alternative; boundary=001a11c120620b44a404f45c112a X-Virus-Checked: Checked by ClamAV on apache.org --001a11c120620b44a404f45c112a Content-Type: text/plain; charset=ISO-8859-1 Hi S.L., On Tue, Mar 11, 2014 at 5:40 AM, wrote: > > I am using the ANy23Runner in my code and everytime a document is > extracted , I see the following being logged in the log files and this > increases the size of the log files, how can I suppress this logging ? > Thanks. > > ======================= Configuration Properties ======================= > any23.http.client.max.connections=5 > any23.extraction.metadata.timesize=off > any23.rdfa.extractor.xslt=rdfa.xslt > any23.extraction.csv.comment=# > any23.extraction.head.meta=off > any23.extraction.csv.field=, > any23.extraction.rdfa.programmatic=on > any23.microdata.strict=off > any23.http.client.timeout=10000 > any23.extraction.metadata.nesting=on > any23.core.version=0.9.0 (UNKNOWN@r${buildNumber}; 2013-10-28 21:36:38+0000) > any23.http.user.agent.default=Any23-CLI > any23.extraction.context.uri=? > any23.extraction.metadata.domain.per.entity=off > any23.plugin.dirs=./plugins > any23.microdata.ns.default=http://rdf.data-vocabulary.org/ > > > > This is the result of how you are constructing and using the o.a.any23.Any23 API. I assume that you are using it something like the following Any23 runner = new Any23(); Using it as above consequently means that DefaultConfiguration#getConfigurationDump() method is called. I suggest that you try constructing an instance of DefaultModifiableConfiguration [0] with flags properties set to off (or something similar). You can then pass your configuration instance to the Any23 API constructor. More on Configuration can be found at the follow documentation http://any23.apache.org/configuration.html I should also make it clear, I'm not overly familiar with the exact code solution here so I apologize in advance. I hope this helps a bit though. [0] http://any23.apache.org/apidocs/index.html?org/apache/any23/configuration/DefaultModifiableConfiguration.html --001a11c120620b44a404f45c112a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi S.L.,

On Tue, Mar 11, 2014 at 5:40 AM, <user-d= igest-help@any23.apache.org> wrote:

I am= using the ANy23Runner in my code and everytime a document is extracted , I= see the following being logged in the log files and this increases the siz= e of the log files, how can I suppress this logging ? Thanks.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D Configuration Properties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
any23.http.client.max.connections=3D5
any23.extraction.metadata.timesize=3Doff
any23.rdfa.extractor.xslt=3Drdfa.xslt
any23.extraction.csv.comment=3D#
any23.extraction.head.meta=3Doff
any23.extraction.csv.field=3D,
any23.extraction.rdfa.programmatic=3Don
any23.microdata.strict=3Doff
any23.http.client.timeout=3D10000
any23.extraction.metadata.nesting=3Don
any23.core.version=3D0.9.0 (UNKNOWN@r${buildNumber}; 2013-10-28 21:36:38+00=
00)
any23.http.user.agent.default=3DAny23-CLI
any23.extraction.context.uri=3D?
any23.extraction.metadata.domain.per.entity=3Doff
any23.plugin.dirs=3D./plugins
any23.microdata.ns.default=3Dhttp://rdf.data-vocabulary.org/



This is the res= ult of how you are constructing and using the o.a.any23.Any23 API.
I ass= ume that you are using it something like the following

Any23 runner =3D new Any23();

Using= it as above consequently means that DefaultConfiguration#getConfigurationD= ump() method is called.
I= suggest that you try constructing an instance of DefaultModifiableConfigur= ation [0] with flags properties set to off (or something similar). You can = then pass your configuration instance to the Any23 API constructor.

More on Configuration can be found at the follow documentation
http://any23.apache.org/= configuration.html

I should als= o make it clear, I'm not overly familiar with the exact code solution h= ere so I apologize in advance.

I hope this helps a bit though.
--001a11c120620b44a404f45c112a--