[prev in list] [next in list] [prev in thread] [next in thread]
List: mythtv-dev
Subject: [mythtv] python bindings and logging
From: John P Poet <jppoet () gmail ! com>
Date: 2017-06-27 22:04:02
Message-ID: CACSqvJnVScR-94Y+J3mJoCREK_bapyu=_joxvc3LGJjuf4-6fQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
In the python bindings (e.g. mythproto.py, methodheap.py) I see statements
like:
self.log(MythLog.ALL, MythLog.INFO, "some message")
I have tried to add some logging to debug some code I am playing with, but
the message don't show up anywhere. Specifically, I am trying to add a log
message to
def stopRecording(self, program):
in mythproto.py. Even when I run mythbackend with "-v all", the message
does not show up. What am I missing?
Thanks,
John
[Attachment #5 (text/html)]
<div dir="ltr"><div><div><div><div>In the python bindings (e.g. mythproto.py, \
methodheap.py) I see statements like:<br><br> self.log(MythLog.ALL, MythLog.INFO, \
"some message")<br><br></div>I have tried to add some logging to debug some \
code I am playing with, but the message don't show up anywhere. Specifically, I \
am trying to add a log message to <br><br> def stopRecording(self, \
program):<br><br></div>in mythproto.py. Even when I run mythbackend with "-v \
all", the message does not show up. What am I \
missing?<br><br></div>Thanks,<br><br></div>John<br><br></div>
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic