W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2009

Calabash: typo in logging?

From: Florent Georges <fgeorges@fgeorges.org>
Date: Wed, 21 Oct 2009 12:21:13 +0200
Message-ID: <ebaca5bf0910210321k5c8ded17o3ccaa25b0e7b5e10@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>
  Norman,

  In DefaultStep, you have the following method definition, note the
message "Running " + logger:

    public void run() throws SaxonApiException {
        runtime.info(logger, step.getNode(), "Running " + logger);
        runtime.reportStep(step);
    }

resulting in log messages like following:

    INFO: .../invoice.xpl:23: Running java.util.logging.Logger@107bd0d

  Shouldn't it be instead the following, to use the step name instead
of Logger.toString():

    runtime.info(logger, step.getNode(), "Running " + step.getName());

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
Received on Wednesday, 21 October 2009 10:21:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 October 2009 10:21:42 GMT