Set log level method