Quick and Dirty Python Logging Configuration

This is my quick-and-dirty logging configuration that works for both scripts and containerized applications. from logging import StreamHandler, getLogger from os import getenv stderr_handler = StreamHandler() log = getLogger(__name__) log.setLevel(getenv('LOG_LEVEL', 'INFO')) log.addHandler(stderr_handler) This…

Moving off Docker Hub

Docker Hub was the place to get container images. To a degree, it still is, but support for other public registries has increased and if your software's installation instructions include a Docker Compose file, then having that file pre-populated with…

Mastodon