Re: Calabash: enabling debug logging

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Florent Georges writes:

> 2009/12/14 Henry S. Thompson wrote:
>
>> 1) Copy the file logging.properties from
>>  .../trunk/logging.properties to your working directory;
>
>   This file does not seem to be part of the SVN repository.

Bother.  I can't remember where I got it. . .

Here's a copy:

- ---------------------
handlers= java.util.logging.ConsoleHandler

.level= INFO

java.util.logging.FileHandler.pattern = %h/java%u.log
java.util.logging.FileHandler.limit = 50000
java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.formatter =
java.util.logging.XMLFormatter

java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter =
java.util.logging.SimpleFormatter

com.xmlcalabash.level = SEVERE
- --------------------

> I guess I should be able to create one by hand, but my concern was
> more about how to configure this from the JVM *command line*.

I'm a newbie in this area, but you could simply try
- -Dcom.xmlcalabash.level=INFO. . .

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)

iD8DBQFLJlBskjnJixAXWBoRAovnAJ9l/FF8xwOn7BQmHZZ5HVyyQ+p8iwCfRnQ8
u3k/J8LuAwkNcFTLsSK0Q6I=
=FbLC
-----END PGP SIGNATURE-----

Received on Monday, 14 December 2009 14:49:54 UTC