auto task switch for work desktop (default)

This commit is contained in:
buenosairesam
2025-05-13 05:00:46 -03:00
parent 7995040c82
commit 7a75d1caae
5 changed files with 26 additions and 7 deletions

View File

@@ -9,7 +9,13 @@ logging.basicConfig(
format="%(asctime)s %(levelname)-8s [%(filename)s:%(lineno)d] %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
)
# 2) Get your modules logger and bump it to DEBUG
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
# 3) Silence pymongo (and any other libs you find chatty)
logging.getLogger("pymongo").setLevel(logging.WARNING)
# MongoDB configuration
client = MongoClient()