scripts: Simplify script_log() to just look at CTDB_SYSLOG variable
commitcd4041760bbe6cf7ace7e6a3ba409d062e667eed
authorMartin Schwenke <martin@meltin.net>
Tue, 15 Oct 2013 00:57:28 +0000 (15 11:57 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 22 Oct 2013 03:34:04 +0000 (22 14:34 +1100)
tree056dc86e776494ba739276b8e5f0e9f7a0298179
parent4526fdbbca4fbadc53ec354ceca7cc59ba3a31b6
scripts: Simplify script_log() to just look at CTDB_SYSLOG variable

The old logic was actually wrong.  If CTDB_LOGFILE is unset then a
default is used, not syslog.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 79e2029f9bc078126e865aa715100a3870c7604b)
ctdb/config/functions