Logging configuration utils.