Remove logs from console ?

Help
Nicolas
2010-09-05
2013-04-29
  • Nicolas

    Nicolas - 2010-09-05

    Hi,

    I am integrating Lobo browser in a Java app, with a Java Web Start installation.
    When running the application installed with JWS, I have a lot of logs in the Java console from Lobo :
    5 sept. 2010 16:23:33 org.lobobrowser.html.gui.HtmlBlockPanel paint
    INFO: paintComponent(): URI=. Block paint elapsed: 15 ms.
    5 sept. 2010 16:23:33 org.lobobrowser.html.renderer.HtmlController onMouseClick
    INFO: onMouseClick(): node=#document,class=org.lobobrowser.html.domimpl.HTMLDocumentImpl

    How is it possible to remove the logs ?

    Thanks

     
  • Benjy

    Benjy - 2010-09-09

    Try this:

      Logger.getLogger("").setLevel(Level.OFF); 

    I found this line in some past forum post.

    Benjy

     
  • Nicolas

    Nicolas - 2010-09-09

    Thanks, it's working.

    Before, I was using     Logger.getLogger("org.lobobrowser").setLevel(Level.WARNING);
    and this wasn't working

     

Log in to post a comment.