CHANGES: Set log level using environment variables

Changes to add more fine-grained control over the log level.