http://qs1969.pair.com?node_id=887729

nvivek has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,
I am using Log::Log4perl for logging the message in the module. In my code, when problem occurs, I am printing the message because of this, it prints the same log message again and again. I want to print the message one time with count. Is there any way to achieve this in Log::Log4perl? I want to suppress the duplicate messages.