+
    4SsiI              
          ^ RI t ^ RIt^ RIHtHtHtHtHtHt ^ RIH	t	 ]P                  ]]P                  ]]P                  ]]P                  ]]P                  ]/t ! R R]P                   4      tR] P$                  RRRRR3R	 ltR# )
    N)GREYYELLOWGREENREDDARK_REDC_NORMAL)is_colour_wantedc                   6   a a ] tR t^!t oRtV 3R ltRtVtV ;t# )ColoredFormatterz#Add color to log according to levelc                   < \         SV `  V4      p\        P                  VP                  \
        4      pW2,           \        ,           # )N)superformatLEVEL_COLORSgetlevelnor   r   )selfrecordlogcolor	__class__s   &&  ./usr/lib/python3/dist-packages/samba/logger.pyr   ColoredFormatter.format$   s4    gnV$  6{X%%     )	__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classdictcell____classcell__)r   __classdict__s   @@r   r   r   !   s     -& &r   r   sambaFzO%(levelname)s %(asctime)s pid:%(process)d %(pathname)s #%(lineno)d: %(message)sc                   \         P                  ! V 4      pV'       gU   T;'       d    \         P                  ;'       g3    T;'       d    \         P                  ;'       g    \         P                  pVP                  V4       \        V4      '       d   \        pM\         P                  pV! WVR7      p	\         P                  ! VR7      p
V
P                  V	4       VP                  V
4       V# )z&
Get a logger instance and config it.
)fmtdatefmt)stream)logging	getLoggerDEBUGWARNINGINFOsetLevelr	   r   	FormatterStreamHandlersetFormatter
addHandler)namer(   levelverbosequietr&   r'   loggerr/   	formatterhandlers   &&&&&&&    r   get_samba_loggerr:   *   s     t$F++gmm = =++GOO= =07 	 OOE$	%%	c3I##62G#
gMr   )sysr)   samba.colourr   r   r   r   r   r   r	   CRITICALERRORr,   r-   r+   r   r/   r   stderrr:   r   r   r   <module>r@      s   &   E E ) hMM3OOVLL%MM4&w(( & SZZE5r   