[mkgmap-dev] Commit: r899: Change informational message to log.info.
From Steve Ratcliffe steve at parabola.demon.co.uk on Tue Feb 17 06:55:42 GMT 2009
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
- Previous message: [mkgmap-dev] Commit: r899: Change informational message to log.info.
- Next message: [mkgmap-dev] Commit: r899: Change informational message to log.info.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list