auto task switch for work desktop (default)
This commit is contained in:
@@ -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 module’s 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()
|
||||
|
||||
Reference in New Issue
Block a user