I got several objects of different classes which produce some data which is stored in a container object. When all workers finish, container renders reports and logs them.
$container->do_FooBarWork(); # Foo::Bar work
$container->do_BazWhoWork(); # Baz::Who work
$container->createReport(); # renders report for each worker
$container->dumpReport(); # dumps all reports to log
Now all reports are logged by Container::dumpReport() method and thus log4perl can't tell which class produced which output. But if container class knew who produced what then it could log it "on behalf" of worker object. In other words i want to "tie" logged result to class that created it.