myrobotlab.log

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's picture

Accessing the java logger from jython

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's picture

Kwatters is right  In the

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

dom14's picture

ok thank you it's work. Dom

ok thank you it's work.

Dom