python logging set level from environment