Two environment variables, MAYA_BATCH_STDOUT_LOGGING_LEVEL and MAYA_BATCH_STDERR_LOGGING_LEVEL, control what is output to stderr and stdout by scripts, commands, and API calls.
Valid values for both variables are all, info, result, warning, error, and none.
MAYA_BATCH_STDOUT_LOGGING_LEVEL defaults to none.
MAYA_BATCH_STDERR_LOGGING_LEVEL defaults to all.
When neither environment variable is set, all output will go to stderr.