updates logging to use INFO by default, or to take the log level from an environment variable