+
    i*  c                   s:    ^ RI t ^ RIHtHtHt  ! R R]]4      tR# )i    N)PluginIndependentPlugin	PluginOptc                   s   a  ] tR t^t o RtRtRtRt]R,           ]R,           .t]3t	]
! RR]R	R
7      .tR tR tRtV tR# )ContainerLogz"All logs under /var/log/containersZcontainer_logz/var/log/containers/z/var/log/pods/z	*/*.log.*z*/*/*.log.*rotatedFz(also get rotated logs from /var/log/pods)ZdefaultZval_typeZdescc                sx   V P                  R 4      '       dR   V P                  V P                  4       V P                  R4      '       d   V P                  V P                  4       R# R# V P	                  V P                  R4       V P                  R4      '       d   V P	                  V P
                  R4       R# R# )Zall_logsr   z*.logz*.log.*N)Z
get_optionadd_copy_speclogdirrotated_dirscollect_subdirspoddir)selfs   &E/usr/lib/python3.14/site-packages/sos/report/plugins/container_log.pysetupZContainerLog.setup   s    ??:&&t{{+y))""4#4#45 *   g6y))$$T[[)< *    c                s    \         P                  ! V4       F'  w  p pV P                  V P                  W24      4       K)  	  R# )z=Collect *.log files from subdirs of passed root path
        N)osZwalkr   Z	path_join)r
   ZrootZglobZdir_nameZ_s   &&&  r   r   ZContainerLog.collect_subdirs'   s3     !ggdmNHat~~h=> ,r    N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z
short_descZplugin_namer   r	   r   Zfilesr   ZboolZoption_listr   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s^     5J!K#FF[(&=*@ALJE 	)UTA	CK
=? ?r   r   )r   Zsos.report.pluginsr    r   r   r   r   r   r   <module>r      s    
 C C?6, ?r   