Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I suppress the date line from 2-line java.util.logging output? [duplicate]

Tags:

I'm using the Java default logger, and right now it's printing a lot of useless trash to the output, here is a example, this line of code:

log.info("Logging pointless information...")

Will output all of this:

Oct 26, 2011 9:37:57 PM java.util.logging.LogManager$RootLogger log
INFO: Logging pointless information...

I don't need to know anything except that second line. How can I remove this trash? All I want is simple text logging.