Add command to set loglevel, and default it to error.