Return-Path: X-Original-To: apmail-ctakes-notifications-archive@www.apache.org Delivered-To: apmail-ctakes-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFC711016F for ; Fri, 2 Aug 2013 19:07:57 +0000 (UTC) Received: (qmail 27769 invoked by uid 500); 2 Aug 2013 19:07:57 -0000 Delivered-To: apmail-ctakes-notifications-archive@ctakes.apache.org Received: (qmail 27102 invoked by uid 500); 2 Aug 2013 19:07:54 -0000 Mailing-List: contact notifications-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list notifications@ctakes.apache.org Received: (qmail 26767 invoked by uid 99); 2 Aug 2013 19:07:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Aug 2013 19:07:52 +0000 Date: Fri, 2 Aug 2013 19:07:52 +0000 (UTC) From: "Pei Chen (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CTAKES-219) configure log4j for ctakes-assertion module and remove stdout print statements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CTAKES-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727967#comment-13727967 ] Pei Chen commented on CTAKES-219: --------------------------------- It looks like it's been converted to log4j in trunk in the assertion module by swu already. https://svn.apache.org/viewvc?view=revision&revision=1441179 But let's leave this open for the time being once we could do full a search and replace for it. > configure log4j for ctakes-assertion module and remove stdout print statements > ------------------------------------------------------------------------------ > > Key: CTAKES-219 > URL: https://issues.apache.org/jira/browse/CTAKES-219 > Project: cTAKES > Issue Type: Improvement > Components: ctakes-assertion > Affects Versions: 3.0-incubating > Environment: Java > Reporter: Chase Master > Priority: Minor > Labels: log4j, logger > Original Estimate: 2h > Remaining Estimate: 2h > > Most cTAKES modules use log4j and thus the logging for most of the pipeline is easily configurable when included in another application. However, the assertion module uses the java logger, and in order to configure the properties (for instance, add a file handler and suppress the output to the console) I believe it must be done where it is instantiated (somewhere inside the pipeline?). Logging configuration should be possible without checking out the project. Also, the System.out.println statements could be removed and a console handler used instead. This would make cTAKES easier to use inside other applications. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira