Difference between revisions of "Mythlogserver"

From MythTV Official Wiki
Jump to: navigation, search
(Add rsyslog reference and some additional detail.)
(--nodblog correction)
Line 2: Line 2:
 
Log messages generated by MythTV programs are sent to
 
Log messages generated by MythTV programs are sent to
 
<code>mythlogserver</code> which distributes them based on
 
<code>mythlogserver</code> which distributes them based on
the ''--syslog'', ''--nodblog'' and ''--logpath'' command line options.
+
the ''--syslog'', and ''--logpath'' command line options as well
 +
as to the database (if ''--nodblog'' isn't set.)
  
 
It is started automatically when existing MythTV programs start,
 
It is started automatically when existing MythTV programs start,
 
typically <code>mythbackend</code> and <code>mythfrontend</code>.
 
typically <code>mythbackend</code> and <code>mythfrontend</code>.
<code>mythlogserver</code>'s logging options are inherited from the
+
<code>mythlogserver</code>'s own logging options are inherited from the
 
program that starts it.
 
program that starts it.
  

Revision as of 04:52, 5 October 2012

mythlogserver is a program added in the 0.26 release. Log messages generated by MythTV programs are sent to mythlogserver which distributes them based on the --syslog, and --logpath command line options as well as to the database (if --nodblog isn't set.)

It is started automatically when existing MythTV programs start, typically mythbackend and mythfrontend. mythlogserver's own logging options are inherited from the program that starts it.

See 0.26 specific sections in Logrotate All Applications and Simple rsyslog Configuration if they are used.

mythlogserver uses ZeroMQ libraries, which are included with the MythTV distribution.