You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@logging.apache.org by Dmitri Pissarenko <di...@gmx.net> on 2004/09/02 19:18:12 UTC

Collections logging

Hello!

Is it possible to log the contents of collections with log4j?

This feature is particularly useful when debugging programs.

Thanks in advance

dap



Re: Collections logging

Posted by Dmitri Pissarenko <di...@gmx.net>.
Thanks!

Re: Collections logging

Posted by Ceki Gülcü <ce...@qos.ch>.

ObjectRenderers are made exactly for that. You just have to write your own 
renderer.

At 07:18 PM 9/2/2004, Dmitri Pissarenko wrote:
>Hello!
>
>Is it possible to log the contents of collections with log4j?
>
>This feature is particularly useful when debugging programs.
>
>Thanks in advance
>
>dap
>

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp