<div dir="ltr">2013/7/8 Mike Perkins <span dir="ltr">&lt;<a href="mailto:mikep@randomtraveller.org.uk" target="_blank">mikep@randomtraveller.org.uk</a>&gt;</span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 08/07/13 17:51, Andréas Kühne wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
2013/7/8 Mike Perkins &lt;<a href="mailto:mikep@randomtraveller.org.uk" target="_blank">mikep@randomtraveller.org.uk</a>&gt;<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
I don&#39;t think it is a particularly good idea to put your own directives<br>
in the file *before* the global directives, although in this case it<br>
probably works fine.<br>
<br>
Look at the very last directive - that includes any files under a<br>
subdirectory. You should put your own directives in a file in that<br>
directory. The only reason to do otherwise is if you are editing lines<br>
/out/ of the main config file.<br>
<br>
Lastly, the &quot;*.*&quot; directive above /should/ mean that you don&#39;t need to<br>
specify any of the &quot;local?.*&quot; directives, as this includes all of them.<br>
<br>
</blockquote>
<br></div><div class="im">
Thanks for the answer. I agree with you, it&#39;s probably not a good idea to<br>
do what I have done. I was just following the rsyslog examples for<br>
forwarding all logs to a remote server. Unfortunately it still doesn&#39;t seem<br>
to work. I have tried to add my configuration in different places, even<br>
changing the default syslog configuration for mythtv to forward all<br>
messages to the remote server (without the configuration in the default<br>
field).<br>
<br>
</div></blockquote>
I&#39;m sorry to suggest this, but have you overlooked the obvious? It may be that you are /sending/ logs out of your MBE but the log server isn&#39;t permitted to receive them... You have to uncomment the TCP/UDP lines at the top of the global file IIRC. There&#39;s also firewalls to consider. Are you passing port 514?<div class="HOEnZb">
<div class="h5"><br>
<br>
-- <br>
<br>
Mike Perkins<br>
<br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Hi again Mike,</div><div class="gmail_extra"><br></div><div class="gmail_extra">It&#39;s good to be thorough! I don&#39;t mind the suggestion, because it is probably something I have overlooked. I know that the other server is receiving messages, because I do get some messages to that server, however not all messages. When I have the *.* @<a href="http://10.0.27.44">10.0.27.44</a> row in place, I get standard syslog messages, but nothing from mythlogserver. If I replace the &quot;default&quot; settings for mythtv logging with:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">if $syslogfacility-text == &#39;local7&#39; and $programname startswith &#39;myth&#39; then @<a href="http://10.0.27.44">10.0.27.44</a></div><div class="gmail_extra">
&amp; ~</div><div class="gmail_extra"><br></div><div class="gmail_extra">I get some messages from mythlogserver itself, but not any messages from mythbackend. I have also tried:</div><div class="gmail_extra">if $syslogfacillity-text == &#39;local7&#39; and $msg startswith &#39; myth&#39; then @<a href="http://10.0.27.44">10.0.27.44</a></div>
<div class="gmail_extra">&amp; ~</div><div class="gmail_extra"><br></div><div class="gmail_extra">Nothing of this works, I just don&#39;t get anything on the remote server...</div><div class="gmail_extra"><br></div><div class="gmail_extra">
Regards,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Andréas</div></div>