Difference between revisions of "Mythlogserver"

From MythTV Official Wiki
Jump to: navigation, search
(title wrong and stub)
(De-stubify ;))
(One intermediate revision by one other user not shown)
Line 2: Line 2:
  
 
<code>mythlogserver</code> is a program added in the 0.26 release.
 
<code>mythlogserver</code> is a program added in the 0.26 release.
Log messages generated by MythTV programs are sent to
+
Log messages generated by all of the other MythTV programs are sent to
<code>mythlogserver</code> which distributes them based on
+
<code>mythlogserver</code> which then distributes them to files based on
 
the ''--syslog'', and ''--logpath'' command line options as well
 
the ''--syslog'', and ''--logpath'' command line options as well
as to the database (if ''--nodblog'' isn't set.)
+
as to the database (if ''--nodblog'' isn't set.) For details on
 +
how the loggin options work, refer to [[Logging]].
  
It is started automatically when existing MythTV programs start,
+
A single copy of <code>mythlogserver</code> is started on each host,
 +
as soon as any MythTV program start,
 
typically <code>mythbackend</code> and <code>mythfrontend</code>.
 
typically <code>mythbackend</code> and <code>mythfrontend</code>.
 
<code>mythlogserver</code>'s own 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. Log entires in <code>mythlogserver</code>'s own
 +
log can be seen whenever one of its clients, such as a backend, starts
 +
and stops using it. Also note that when <code>mythlogserver</code>
 +
detects that no other MythTV program is using it, it will stop running
 +
after 5 minutes.
  
 
See 0.26 specific sections in [[Logrotate_-_all_applications|Logrotate All Applications]]
 
See 0.26 specific sections in [[Logrotate_-_all_applications|Logrotate All Applications]]
Line 17: Line 23:
 
<code>mythlogserver</code> uses [http://www.zeromq.org ZeroMQ] libraries, which
 
<code>mythlogserver</code> uses [http://www.zeromq.org ZeroMQ] libraries, which
 
are included with the MythTV distribution.
 
are included with the MythTV distribution.
 
{{Stub}}
 
  
 
[[Category:MythTV_Software]]
 
[[Category:MythTV_Software]]
 
[[Category:Glossary]]
 
[[Category:Glossary]]

Revision as of 19:54, 25 November 2012

Important.png Note: The correct title of this article is mythlogserver. It appears incorrectly here due to technical restrictions.


mythlogserver is a program added in the 0.26 release. Log messages generated by all of the other MythTV programs are sent to mythlogserver which then distributes them to files based on the --syslog, and --logpath command line options as well as to the database (if --nodblog isn't set.) For details on how the loggin options work, refer to Logging.

A single copy of mythlogserver is started on each host, as soon as any MythTV program start, typically mythbackend and mythfrontend. mythlogserver's own logging options are inherited from the program that starts it. Log entires in mythlogserver's own log can be seen whenever one of its clients, such as a backend, starts and stops using it. Also note that when mythlogserver detects that no other MythTV program is using it, it will stop running after 5 minutes.

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.