Fix to -loglevel switch.