Hi, Sometimes it happens that we want to see logs from a class, but not all 
logs as it can be verbose. I think it would useful to be able to filter logs 
inside a logger, specially when the logger is class.

For example we could use include and exclude regexps:


        <logger name=" 
org.springframework.beans.factory.support.DefaultListableBeanFactory" 
level="DEBUG">            <include string= "Creating shared instance of 
singleton bean"            <AppenderRef ref="PROJECT" />
        </logger>

or
        <logger name=" 
org.springframework.beans.factory.support.DefaultListableBeanFactory" 
level="DEBUG">            <exclude string= "Returning cached instance"
            <AppenderRef ref="PROJECT" />
        </logger>
        
What do you think?Regards
Enric

Reply via email to