# Python Logger

**URL:** <https://forum.log4view.com/t/python-logger/97>\
**Category:** Log4View Support\
**Created:** [October 27, 2017, 8:26am UTC](https://forum.log4view.com/t/python-logger/97 "2017-10-27T08:26:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.log4view.com/images/discourse-logo-sketch-small.png) [@system](https://forum.log4view.com/u/system)\
**Post date:** [October 27, 2017, 8:26am UTC](https://forum.log4view.com/t/python-logger/97/1 "2017-10-27T08:26:55Z")

</div>

_Guest on Nabble:_ `Norbert`

We have log files created by a python test framework.  
Entries look like this:

2017-10-26 15:24:12,461 my.test.framework.gui.mypanel[DEBUG]: Selected building tasks panel

Currently LOG4VIEW only creates read errors while reading this logfile.  
Is it possible to create a specific layout pattern for this log format?

Thanks,  
Norbert

---

<div class="post-metadata">

**Author:** ![Philipp\_Lauchner](https://forum.log4view.com/user_avatar/forum.log4view.com/philipp_lauchner/32/8_2.png) [@Philipp\_Lauchner](https://forum.log4view.com/u/Philipp_Lauchner)\
**Post date:** [October 27, 2017, 8:48am UTC](https://forum.log4view.com/t/python-logger/97/2 "2017-10-27T08:48:54Z")

</div>

Dear Norbert,

yes, when adding your file receiver you can set a pattern layout instead of using xml formatted messages.  
Then just use the following pattern:  
_%d %logger[%level]: %m_

Yet please be aware that pattern formated messages may sometimes cause problems due to ambiguity of patterns, e.g. when there are line breaks within the actual message text.

Yours sincerely

Philipp Lauchner  
**PROSA GmbH**   
Development & Support
