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

Re: Calabash: enabling debug logging

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Mon, 14 Dec 2009 14:05:21 +0000
To: Florent Georges <fgeorges@fgeorges.org>
Cc: XProc Dev <xproc-dev@w3.org>
Message-ID: <f5bzl5ld526.fsf@hildegard.inf.ed.ac.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Florent Georges writes:

>   It seems I cannot succeed to enable debug log messages of
> Calabash from the command line.  I set the -d option, but I guess
> I should also add some logging-framework-specific incantations
> (I'm always lost into this logging frameworks maze).

So here's what works for me in this regard:

 1) Copy the file logging.properties from
    .../trunk/logging.properties to your working directory;

 2) Replace 'SEVERE' on the last line with 'INFO'

 3) Include -Djava.util.logging.config.file=logging.properties in your
    Calabash invocation.

If you need even _more_ detail, replace INFO with FINE or FINEST
throughout your logging.properties.

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFLJkYhkjnJixAXWBoRAmQNAJ97h8tu5fWjduOBt4eaNmN68Mw88QCfbgyu
TrNBjov8m8iQ0XD50WjvvyU=
=EYkJ
-----END PGP SIGNATURE-----
Received on Monday, 14 December 2009 14:05:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 December 2009 14:05:57 GMT