in reply to Re^3: log4perl collecting (buffering) messages
in thread log4perl collecting (buffering) messages

THANKS!!!!!!! you SAID IT ALL. I thinks next time i´ve to read the documentation for the SUPER-Class too ... puhhh ;-)

In addition i´ve found this:

"There's no need to pass around logger references between your system's functions. This effectively avoids cluttering up your beautifully crafted functions/methods with parameters unrelated to your implementation. get_logger() can be called by every function/method directly with little overhead in order to obtain a logger. get_logger makes sure that no new object is created unnecessarily. In most cases, it will just cheaply return a reference to an already existing object (singleton mechanism)."

from: http://www.perl.com/pub/2002/09/11/log4perl.html

  • Comment on Re^4: log4perl collecting (buffering) messages