Logfile per Component Hierarchy

Posted by Daniel Marbach on Stack Overflow See other posts from Stack Overflow or by Daniel Marbach
Published on 2010-03-29T20:16:51Z Indexed on 2010/03/30 8:13 UTC
Read the original article Hit count: 341

Filed under:

Hello I have the following problem:

ComponentA with Unique Name
   ChildComponent
      ChildChild
   AnotherChild

Everytime a new instance of ComponentA is created I want to redirect the output to a unique file named ComponentA-UniqueName including all child component log entries.

How can this be achieved?

Daniel

© Stack Overflow or respective owner

Related posts about log4net