Feature Type
Nice to have
Feature Description
Hi there,
currently, it seems that the log level of a worker can only be set via CLI argument --log-level. However, it would be convenient to be able to set the log level in other ways, e.g. using a ServerOptions parameter or an environment variable LOG_LEVEL or LIVEKIT_LOG_LEVEL.
Workarounds / Alternatives
I'm currently doing the following:
if __name__ == '__main__':
sys.argv.append(f"--log-level={LOG_LEVEL}")
cli.run_app(...)