# Using Log4View with custom XML layout

**URL:** <https://forum.log4view.com/t/using-log4view-with-custom-xml-layout/15>\
**Category:** Log4View Support\
**Created:** [December 3, 2013, 4:13pm UTC](https://forum.log4view.com/t/using-log4view-with-custom-xml-layout/15 "2013-12-03T16:13:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elena](https://forum.log4view.com/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@Elena](https://forum.log4view.com/u/Elena)\
**Post date:** [December 3, 2013, 4:13pm UTC](https://forum.log4view.com/t/using-log4view-with-custom-xml-layout/15/1 "2013-12-03T16:13:11Z")

</div>

Hello Ulrich,

We are using log4net along with our custom implementation of XML layout.

Can our log files be displayed properly with Log4View?

Best regards,  
Elena

---

<div class="post-metadata">

**Author:** ![Ulrich](https://forum.log4view.com/user_avatar/forum.log4view.com/ulrich/32/7_2.png) [@Ulrich](https://forum.log4view.com/u/Ulrich)\
**Post date:** [December 4, 2013, 7:13am UTC](https://forum.log4view.com/t/using-log4view-with-custom-xml-layout/15/2 "2013-12-04T07:13:52Z")

</div>

Hello Elena,

Log4View is designed to read the normal XML-layout of log4net.

I don’t know your custom implementation but you can just try it. As long as the main structure of the xml file isn’t changed, it should work.

Mit freundlichen Grüßen / Yours sincerely

Ulrich Proeller

---

<div class="post-metadata">

**Author:** ![Elena](https://forum.log4view.com/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@Elena](https://forum.log4view.com/u/Elena)\
**Post date:** [December 4, 2013, 7:35am UTC](https://forum.log4view.com/t/using-log4view-with-custom-xml-layout/15/3 "2013-12-04T07:35:43Z")

</div>

Hello Urlich,

We changed the main structure and I’ve already tried to read our logs using _Log4View_ but it’s not working, of course.  
I was just wondering if there is a way to “teach” _Log4View_ what our structure is like.

Thank you very much for the quick reply, though!

Regards,  
Elena

---

<div class="post-metadata">

**Author:** ![Ulrich](https://forum.log4view.com/user_avatar/forum.log4view.com/ulrich/32/7_2.png) [@Ulrich](https://forum.log4view.com/u/Ulrich)\
**Post date:** [December 4, 2013, 8:27am UTC](https://forum.log4view.com/t/using-log4view-with-custom-xml-layout/15/4 "2013-12-04T08:27:48Z")

</div>

Hello Elena,

sorry, but it is not possible to teach Log4View another XML format.

Why did you change the standard XML format? Perhaps you can achieve the same goal with the standard format?

Mit freundlichen Grüßen / Yours sincerely

Ulrich Proeller

---

<div class="post-metadata">

**Author:** ![Elena](https://forum.log4view.com/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@Elena](https://forum.log4view.com/u/Elena)\
**Post date:** [December 4, 2013, 8:41am UTC](https://forum.log4view.com/t/using-log4view-with-custom-xml-layout/15/5 "2013-12-04T08:41:17Z")

</div>

Hello Ulrich,

I’m going to ask one of my colleagues who introduced this new format when he back to the office.  
For “my” components I’m using the standard layout provided by log4net and I’m very happy using your viewer 🙂 Thank’s a lot for that!

Regards,  
Elena
