Another attempt to prevent log message duplication on the console, without
deleting all handlers