Hello,

Is it possible to disable myrobotlab.log because i don't used it and it is dangerous for my SSD disque.

Thank you

Dom.

kwatters

7 years 11 months ago

you might want to try something like this:

 

from org.myrobotlab.logging import LoggingFactory
from org.myrobotlab.logging import LoggingSLF4J
 
log = LoggingFactory().getInstance()
log.removeAllAppenders()
 
 
no idea if it will work.. but in theory it should disconnect all the loggers that are active for the slf4j logging system in MRL...  
 

GroG

7 years 11 months ago

Kwatters is right 

In the future

Runtime.disableLogging() or

Runtime.setLogLevel("DISABLE")  

will do the same thing..  but kwatters gave you an immediate work-a-around