Commit: r899: Change informational message to log.info.

Version 899 was commited by steve on 2009-02-16 23:35:41 +0000 (Mon, 16 Feb 2009) Change informational message to log.info.

On Mon, Feb 16, 2009 at 11:56:59PM +0000, Mark Burton wrote:
Hi Steve,
Change informational message to log.info.
I have never used the Java logging stuff before - how do I get these messages to come out on the console?
I create a file such as the one below (sends things to stdout, but you can also direct to a file by uncommenting the FileHandler line). The add -Dlog.config=<filename> to the java command line. You can set the level on a class or on a package and it will apply to anything below. You can set different levels on different classes. --- # The default level FINE, WARNING, INFO, SEVERE .level=SEVERE #.level=INFO handlers: java.util.logging.ConsoleHandler #handlers: java.util.logging.FileHandler # package or class name with .level appended and then the level uk.me.parabola.mkgmap.main.Main.level=FINE uk.me.parabola.mkgmap.reader.osm.level=FINE # For ConsoleHandler java.util.logging.ConsoleHandler.level=FINE java.util.logging.ConsoleHandler.formatter=uk.me.parabola.log.UsefulFormatter # For FileHandler java.util.logging.FileHandler.level=FINE java.util.logging.FileHandler.formatter=uk.me.parabola.log.UsefulFormatter java.util.logging.FileHandler.limit=5000000 java.util.logging.FileHandler.count=4 java.util.logging.FileHandler.pattern=mkgmap.log java.util.logging.FileHandler.append=true ..Steve

Hi Steve,
I create a file such as the one below (sends things to stdout, but you can also direct to a file by uncommenting the FileHandler line).
The add -Dlog.config=<filename> to the java command line.
You can set the level on a class or on a package and it will apply to anything below. You can set different levels on different classes.
Many thanks for that info. Cheers, Mark
participants (3)
-
Mark Burton
-
Steve Ratcliffe
-
svn commit