I have quite a simple problem but can\'t find a solution for it. I have a logger with a file handler added, but it still spams the hell out of my console. How could I get the lo
I use:
Logger logger = Logger.getLogger("MyLog"); Logger parentLog= logger.getParent(); if (parentLog!=null&&parentLog.getHandlers().length>0) parentLog.removeHandler(parentLog.getHandlers()[0]);