Author build_log_config(service, level) returning a dict with service name, uppercased level, a format string tagging the service, and an env prefix like 'INGEST_LOG_'. Assign it to result.
Ready to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.