Set debug level at startup through setDebugLevel, thus triggering the log writer