Below is the code snippet to redirect the logs, change the log level and to disable the logs.
stc::config automationoptions -logTo /output/logs/log.txt.
stc::config automationoptions -logLevel DEBUG(Display DEBUG, INFO, WARN, and ERROR messages).
stc::config automationoptions -logLevel INFO (Display INFO, WARN, and ERROR messages).
stc::config automationoptions -logLevel WARN (Display WARN and ERROR messages).
stc::config automationoptions -logLevel ERROR (Display WARN and ERROR messages).
stc::config automationoptions -AutoSubscribe false