mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #09880
[Bug 1509340] [NEW] MythTV backends logs to syslog and console
Public bug reported:
mythtvbackend sends output to syslog and console.
Systemd sends stdout to syslog, and mythbackend has console logging enabled without --daemon.
Send stdout to /dev/null so console logging doesn't go to syslog
Please add to /lib/systemd/system/mythtv-backend.service:
StandardOutput=null
cat /lib/systemd/system/mythtv-backend.service:
[Unit]
Description=MythTV Backend
Wants=mysql.service
After=mysql.service
[Service]
ExecStart=/usr/bin/mythbackend --syslog local7 --user mythtv
Restart=on-failure
StartLimitInterval=10min
[Install]
WantedBy=multi-user.target
Ref: https://www.mythtv.org/wiki/Systemd_mythbackend_Configuration
Example of syslog:
Oct 23 14:21:50 server mythbackend[2458]: 2015-10-23 14:21:50.135119 I Reschedule requested for MATCH 0 6 0 2015-10-23T13:45:00Z EITScanner
Oct 23 14:21:50 server mythbackend: mythbackend[2458]: I Scheduler scheduler.cpp:2139 (HandleReschedule) Reschedule requested for MATCH 0 6 0 2015-10-23T13:45:00Z EITScanner
Oct 23 14:21:50 server mythbackend[2458]: 2015-10-23 14:21:50.808907 I Scheduled 20 items in 0.7 = 0.56 match + 0.03 check + 0.06 place
Oct 23 14:21:50 server mythbackend: mythbackend[2458]: I Scheduler scheduler.cpp:2252 (HandleReschedule) Scheduled 20 items in 0.7 = 0.56 match + 0.03 check + 0.06 place
** Affects: mythbuntu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/1509340
Title:
MythTV backends logs to syslog and console
Status in Mythbuntu:
New
Bug description:
mythtvbackend sends output to syslog and console.
Systemd sends stdout to syslog, and mythbackend has console logging enabled without --daemon.
Send stdout to /dev/null so console logging doesn't go to syslog
Please add to /lib/systemd/system/mythtv-backend.service:
StandardOutput=null
cat /lib/systemd/system/mythtv-backend.service:
[Unit]
Description=MythTV Backend
Wants=mysql.service
After=mysql.service
[Service]
ExecStart=/usr/bin/mythbackend --syslog local7 --user mythtv
Restart=on-failure
StartLimitInterval=10min
[Install]
WantedBy=multi-user.target
Ref: https://www.mythtv.org/wiki/Systemd_mythbackend_Configuration
Example of syslog:
Oct 23 14:21:50 server mythbackend[2458]: 2015-10-23 14:21:50.135119 I Reschedule requested for MATCH 0 6 0 2015-10-23T13:45:00Z EITScanner
Oct 23 14:21:50 server mythbackend: mythbackend[2458]: I Scheduler scheduler.cpp:2139 (HandleReschedule) Reschedule requested for MATCH 0 6 0 2015-10-23T13:45:00Z EITScanner
Oct 23 14:21:50 server mythbackend[2458]: 2015-10-23 14:21:50.808907 I Scheduled 20 items in 0.7 = 0.56 match + 0.03 check + 0.06 place
Oct 23 14:21:50 server mythbackend: mythbackend[2458]: I Scheduler scheduler.cpp:2252 (HandleReschedule) Scheduled 20 items in 0.7 = 0.56 match + 0.03 check + 0.06 place
To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1509340/+subscriptions
Follow ups