OiPP
d Z ddlZddlZ ej d Zej ej k re ej d Z e
Zd Z G d de
Z G d d e
Zd
d
Z G d de
ZdS )a Logging control and utilities.
Control of logging for SA can be performed from the regular python logging
module. The regular dotted module namespace is used, starting at
'sqlalchemy'. For class-level logging, the class name is appended.
The "echo" keyword parameter, available on SQLA :class:`_engine.Engine`
and :class:`_pool.Pool` objects, corresponds to a logger specific to that
instance only.
N
sqlalchemyc t j t j }| t j d | | d S )Nz.%(asctime)s %(levelname)s %(name)s %(message)s)logging
StreamHandlersysstdoutsetFormatter Formatter
addHandler)loggerhandlers b/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/sqlalchemy/log.py_add_default_handlerr ! sW #CJ//GJKK g c t j | j dz | j z fd| _ fd| _ | _ t | | S )N.c B t j S N)isEnabledForr DEBUGselfr s r