Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I access POE heap values from Log4perls layout?

heap layout log4perl PoE values
0
Posted

How can I access POE heap values from Log4perls layout?

0

POE is a framework for creating multitasked applications running in a single process and a single thread. POE’s threads equivalents are ‘sessions’ and since they run quasi-simultaneously, you can’t use Log4perl’s global NDC/MDC to hold session-specific data. However, POE already maintains a data store for every session. It is called ‘heap’ and is just a hash storing session-specific data in key-value pairs.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.