From odf-dev-return-240-apmail-incubator-odf-dev-archive=incubator.apache.org@incubator.apache.org Fri Sep 23 15:37:29 2011 Return-Path: X-Original-To: apmail-incubator-odf-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-odf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ECB6592AA for ; Fri, 23 Sep 2011 15:37:29 +0000 (UTC) Received: (qmail 6310 invoked by uid 500); 23 Sep 2011 15:37:29 -0000 Delivered-To: apmail-incubator-odf-dev-archive@incubator.apache.org Received: (qmail 6287 invoked by uid 500); 23 Sep 2011 15:37:29 -0000 Mailing-List: contact odf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: odf-dev@incubator.apache.org Delivered-To: mailing list odf-dev@incubator.apache.org Received: (qmail 6279 invoked by uid 99); 23 Sep 2011 15:37:29 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 15:37:29 +0000 Received: from localhost (HELO mail-vw0-f47.google.com) (127.0.0.1) (smtp-auth username robweir, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 15:37:29 +0000 Received: by vwe42 with SMTP id 42so3341837vwe.6 for ; Fri, 23 Sep 2011 08:37:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.33.3 with SMTP id n3mr3246803vdi.354.1316792248616; Fri, 23 Sep 2011 08:37:28 -0700 (PDT) Received: by 10.220.94.69 with HTTP; Fri, 23 Sep 2011 08:37:28 -0700 (PDT) In-Reply-To: References: Date: Fri, 23 Sep 2011 11:37:28 -0400 Message-ID: Subject: Re: Simple API From: Rob Weir To: odf-dev@incubator.apache.org Content-Type: text/plain; charset=UTF-8 On Fri, Sep 23, 2011 at 2:37 AM, Devin Han wrote: > > Don't worry about this log message. It is generated by the method > getTextPropertiesForRead() in > org.odftoolkit.simple.style.DefaultStyleHandler. > Logger.getLogger(CellStyleHandler.class.getName()).log(Level.INFO, "No > explicit text properties definition is found!", ""); > Hi Devin -- We should probably try to eliminate any unnecessary log messages. If there are no real errors then by default we should not be writing to stderr or stdout;. Why? Think of the multithreaded server scenario. It is annoying for the server admin to have this written to the log files, filling up their logs and making it harder for them to find important information. And on some servers, where stderr is unbufffered, this can be a performance problem. You have multiple threads all trying to write to stderr, and blocking for access. -Rob