o
    1Xxi=                  	   @   s>   d dl mZmZ d dlZ	d	dededeeef fddZdS )
    )AnyDictN
chroma.loglog_config_pathnew_filenamereturnc                 C   sb   t |  d}t|}W d   n1 sw   Y  |d  D ]}|ddkr.||d< q!|S )z~This works with the standard log_config.yml file.
    It will not work with custom log configs that may use different handlersrNhandlersclassz$logging.handlers.RotatingFileHandlerfilename)openyaml	safe_loadvaluesget)r   r   file
log_confighandler r   Q/home/air/biblejyuku/back/venv/lib/python3.10/site-packages/chromadb/cli/utils.pyset_log_file_path   s   r   )r   )typingr   r   r   strr   r   r   r   r   <module>   s    
