Hi Andrea - on IRC you were having some trouble with the java logging stuff 
(used by a couple of the libraries such as GeoTools).  

Aside: I note that the trouble with JAI spitting out an error messages does not 
seem to be related to logging. Basically we can use the pure java JAI jars; or 
expect them to print a message when they fail to find their library on the 
library path.

Back to logging - apparently there is a -D command line setting that can be 
used:

java.util.logging.config.file=/path/to/app.properties

We could that add that to our VM Args for uDig - perhaps asking it to pick up a 
java logging properties file in the uDig application directory?

Note this is a general solution for configuring java logging; for GeoTools you 
can actually configure it to use different logging engines (log4j, sl4j etc…) 
using some method on the GeoTools class.

[1] 
http://stackoverflow.com/questions/960099/how-to-set-up-java-logging-using-a-properties-file-java-util-logging
  

--  
Jody Garnett

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to