tags:

views:

43

answers:

1

log4perl has a threshold option in the configuration file that will log all calls that level or higher. Is there an option of setting it log only one type of call? I want to only log calls of level "INFO".

Thanks.

+6  A: 

I think you can do it using a Log4Perl Filter. Use the LevelToMatch property to define which exact level needs to be matched.

mopoke
Thank you, mopoke.
Michael Shnitzer