<p dir="ltr"><br>
On Nov 23, 2012 7:10 PM, &quot;DaveD&quot; &lt;<a href="mailto:mythtv@guiplot.com">mythtv@guiplot.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On 11/22/2012 12:10 AM, Bill Meek wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 11/21/2012 11:00 PM, DaveD wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; As the ps output revealed, it is being started WITHOUT --syslog.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Anyone know of a build option that can cause this?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi;<br>
&gt;&gt;<br>
&gt;&gt; But, take a look at:<br>
&gt;&gt;<br>
&gt;&gt;   <a href="http://www.mythtv.org/wiki/Systemd_mythbackend_Configuration">http://www.mythtv.org/wiki/Systemd_mythbackend_Configuration</a><br>
&gt;&gt;<br>
&gt;&gt; Especially these 3 lines:<br>
&gt;&gt;<br>
&gt;&gt;     # Systemd sends stdout to syslog, and mythbackend has console logging enabled without --daemon.<br>
&gt;&gt;     # Send stdout to /dev/null so console logging doesn&#39;t go to syslog<br>
&gt;&gt;     StandardOutput=null<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m a *buntu person, but it looks like what you&#39;re talking about. I suspect using --quiet<br>
&gt;&gt; on the command line would also work. In other words, stop sending to stdio so redirection<br>
&gt;&gt; to /dev/null isn&#39;t needed.<br>
&gt;<br>
&gt;<br>
&gt; Thanks, again, to Mr Meek.  To be concise, here are the steps needed to eliminate double logging to syslog from mythbackend on Fedora 17:<br>
&gt;<br>
&gt; Add the following two lines to /usr/lib/systemd/system/mythbackend.service:<br>
&gt;<br>
&gt; # to supress output to STDOUT, which spams syslog<br>
&gt; StandardOutput=null<br>
&gt;<br>
&gt; Then, repeat as necessary every time you update/upgrade MythTV.  If someone has a more persistent solution, I would love to hear it.<br>
&gt;<br>
&gt; Dave D.<br>
&gt;</p>
<p dir="ltr">Copy the service file to /etc/systemd/system and make your changes there. This overrides the stock files in /usr/lib. Use systemd-delta to show your config changes after restoring the original.</p>