sandbox: Add a flag to set the default log level