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 logging options work, refer to Logging.
In 0.27, the --nologserver opton has been added and if used on the command line, mythlogserver will not be started. All output will go to the console. Additionally, users building from source can select the --disable-mythlogserver option when running configure. If used, each mythProgram will have a logging thread and that will handle syslog, file logging.
A single copy of
mythlogserver is started on each host,
as soon as any MythTV program starts,
mythlogserver's own logging options are inherited from the
program that starts it. Log entires in
log can be seen whenever one of its clients, such as a backend, starts
and stops using it. Also note that when
detects that no other MythTV program is using it, it will stop running
after 5 minutes.
mythlogserver uses ZeroMQ libraries, which
are included with the MythTV distribution.