[mythtv-commits] Ticket #11992: Patch: Prevent --syslog, --logpath and --enable-dblog if --nologserver is used
MythTV
noreply at mythtv.org
Sat Jan 23 03:42:36 UTC 2016
#11992: Patch: Prevent --syslog, --logpath and --enable-dblog if --nologserver is
used
------------------------------------+-----------------------------
Reporter: Bill Meek <keemllib@…> | Owner: jyavenard
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.27.6
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
------------------------------------+-----------------------------
Changes (by Bill Meek <bmeek@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"ac415356601a0122b2c0c6cd6df0f265a8afe744/mythtv"]:
{{{
#!CommitTicketReference repository="mythtv"
revision="ac415356601a0122b2c0c6cd6df0f265a8afe744"
Logging: Rename --nologserver, prevent invalid options
1. Rename the --nologserver switch --disable-mythlogserver. Hopefully
that's more meaningful.
2. If the --enable-mythlogserver switch was used with ./configure,
then display the --disable-mythlogserver switch for any MythTV
program's --help. Also, prevent --syslog, --logpath and --enable-dblog
because with mythlogserver disabled, logging only goes to the console.
I only verified this with --logpath and no file was created under the
directory passed to it.
3. If --enable-mythlogserver wasn't used, then don't even display
the --disable-mythlogserver switch when --help is requested and
fire an error if it is used. This is the normal/recommended/
high-runner case. --syslog --logpath and --enable-dblog work as
expected.
Closes #11992
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/11992#comment:13>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list