<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>Am 28.08.2012 17:21, schrieb Stefan D:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="gmail_quote">On Tue, Aug 28, 2012 at 4:54 PM, Michael T. Dean <span><<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div class="im">On 08/28/2012 04:35 AM, Stefan D wrote:</div>
<div class="im">
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">A few days ago i installed mythbuntu 12.04. With that i got a working syslog for mythtv that i hadn't bothered to fix in my old installation. It worked nice and the logs was filling up with information.<br /> But since i need a few patches and changes to myth i compile from source. So i compiled and installed from my old source directory, did a git pull first, and installed. But now it seems that the syslog logging has stopped. So i wonder if i should have compiled with some extra options? Or how could i try to find the problem?</blockquote>
</div>
Did you switch from 0.25-fixes to unstable/development version? If so, you'll need to set up a few more things.<br /><br />Mike
<div class="HOEnZb">
<div class="h5"><br /> ______________________________<span style="text-decoration: underline;"></span>_________________<br /> mythtv-users mailing list<br /><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br /><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/<span style="text-decoration: underline;"></span>listinfo/mythtv-users</a></div>
</div>
</blockquote>
</div>
<br />I guess i am. Mythbuntu 12.04 is probably running the latest stable version, which should be 0.25-fixes. And then i compile from source to run the development version.<br /><br />What things do i need to set up?<br /><br />/Stefan<br /><br />
<pre>_______________________________________________
mythtv-users mailing list
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
<p>Hi Stefan,</p>
<p>mythtv routes all logging stuff through the mythlogserver now. I also had to change my syslog-ng (not rsyslog) configuration. I don't know if mythbuntu uses syslog, syslog-ng or rsyslog and the mythtv wiki only provides infos for rsyslog.</p>
<p>In the /etc/syslog-ng.conf file I added under destinations:</p>
<p>Am 28.08.2012 17:21, schrieb Stefan D:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div class="gmail_quote">On Tue, Aug 28, 2012 at 4:54 PM, Michael T. Dean <span><<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div class="im">On 08/28/2012 04:35 AM, Stefan D wrote:</div>
<div class="im">
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">A few days ago i installed mythbuntu 12.04. With that i got a working syslog for mythtv that i hadn't bothered to fix in my old installation. It worked nice and the logs was filling up with information.<br /> But since i need a few patches and changes to myth i compile from source. So i compiled and installed from my old source directory, did a git pull first, and installed. But now it seems that the syslog logging has stopped. So i wonder if i should have compiled with some extra options? Or how could i try to find the problem?</blockquote>
</div>
Did you switch from 0.25-fixes to unstable/development version? If so, you'll need to set up a few more things.<br /><br />Mike
<div class="HOEnZb">
<div class="h5"><br /> ______________________________<span style="text-decoration: underline;"></span>_________________<br /> mythtv-users mailing list<br /><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br /><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/<span style="text-decoration: underline;"></span>listinfo/mythtv-users</a></div>
</div>
</blockquote>
</div>
<br />I guess i am. Mythbuntu 12.04 is probably running the latest stable version, which should be 0.25-fixes. And then i compile from source to run the development version.<br /><br />What things do i need to set up?<br /><br />/Stefan<br /><br />
<pre>_______________________________________________
mythtv-users mailing list
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
<p>Hi Stefan,</p>
<p>mythtv routes all logging stuff through the mythlogserver now. I also had to change my syslog-ng (not rsyslog) configuration. I don't know if mythbuntu uses syslog, syslog-ng or rsyslog and the mythtv wiki only provides infos for rsyslog. </p>
<p>In the /etc/syslog-ng.conf file I added the following lines below. This puts the logging info from the frontend, backend, ... into a separate logfile:</p>
<p><em>destination mythbackend { file("/var/log/mythtv/mythbackend.log"); };</em><br /><em>destination mythfrontend { file("/var/log/mythtv/mythfrontend.log"); };</em><br /><em>destination mythfilldatabase { file("/var/log/mythtv/mythfilldatabase.log"); };</em><br /><em>destination mythcommflag { file("/var/log/mythtv/mythcommflag.log"); };</em><br /><em>destination mythpreviewgen { file("/var/log/mythtv/mythpreviewgen.log"); };</em><br /><em>destination mythmetadatalookup { file("/var/log/mythtv/mythmetadatalookup.log"); };</em><br /><em>destination mythlogserver { file("/var/log/mythtv/mythlogserver.log"); };</em></p>
<p><em>filter f_mythbackend { facility("local7") and match("mythbackend" value("MESSAGE")); };</em><br /><em>filter f_mythfrontend { facility("local7") and match("mythfrontend" value("MESSAGE")); };</em><br /><em>filter f_mythcommflag { facility("local7") and match("mythcommflag" value("MESSAGE")); };</em><br /><em>filter f_mythpreviewgen { facility("local7") and match("mythpreviewgen" value("MESSAGE")); };</em><br /><em>filter f_mythmetadatalookup { facility("local7") and match("mythmetadatalookup" value("MESSAGE")); };</em><br /><em>filter f_mythfilldatabase { facility("local7") and match("mythfilldatabase" value("MESSAGE")); };</em><br /><em>filter f_mythlogserver { facility("local7") and match("mythlogserver" value("MESSAGE")); };</em></p>
<p><em>log { source(src); filter(f_mythbackend); destination(mythbackend); };</em><br /><em>log { source(src); filter(f_mythfrontend); destination(mythfrontend); };</em><br /><em>log { source(src); filter(f_mythfilldatabase); destination(mythfilldatabase); };</em><br /><em>log { source(src); filter(f_mythcommflag); destination(mythcommflag); };</em><br /><em>log { source(src); filter(f_mythpreviewgen); destination(mythpreviewgen); };</em><br /><em>log { source(src); filter(f_mythmetadatalookup); destination(mythmetadatalookup); };</em><br /><em>log { source(src); filter(f_mythlogserver); destination(mythlogserver); };</em><br /><br /></p>
<p>Then you just need to restart the syslog-ng daemon and start the backend with "mythbackend --syslog local7" and the frontend "mythfrontend --syslog local7" and you should see stuff in the logs.</p>
<p>Maybe this can be added to the wiki if it helps.</p>
<p>Best regards</p>
<p>Robert S</p>
<p> </p>
<div> </div>
</body></html>