Set log levels correctly in startup