Setup Python logging with configurable verbosity#21
Merged
Conversation
Co-authored-by: frizzleqq <6024093+frizzleqq@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Setup Python logging configuration for project
Setup Python logging with configurable verbosity
Jan 6, 2026
frizzleqq
approved these changes
Jan 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configures Python logging for the project with a structured format and CLI-controlled verbosity.
Changes
Logging configuration (
src/dab_project/logging_config.py)setup_logging()function with format:YYYY-MM-DD HH:MM:SS,mmm - LEVEL - module - messageCLI integration (
src/dab_project/cli.py)-v/--verboseflag to enable DEBUG loggingprint()error handling withlogger.error()setup_logging()on startupExample output
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
astral.sh/usr/bin/curl curl -LsSf REDACTED(dns block)repos.spark-packages.org/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -cp hive-jackson/*:/home/REDACTED/work/databricks-bundle-implementation/databricks-bundle-implementation/.venv/lib/python3.12/site-packages/pyspark/conf:/home/REDACTED/work/databricks-bundle-implementation/databricks-bundle-implementation/.venv/lib/python3.12/sit /tmp/cciIv9rb.s(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.