How can I register only the INFO level in Log4perl?

log4perl has a threshold parameter in the configuration file in which all calls of this level or higher will be logged. Is it possible to set a log for only one type of call? I only want to register calls at the "INFO" level.

Thanks.

+4
source share
1 answer

I think you can do this using Log4Perl Filter . Use the LevelToMatch property to determine which exact level you want to map.

+7
source

All Articles