Fixed logLevel issue