← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 697387] Re: SYSLOG option in lts.conf not documented

 

Maybe the following line could be changed in the code:

- if [ -z "$SYSLOG" ] || [ "$SYSLOG" = "remote" ]; then
+ if [ "${SYSLOG_HOST-localhost}" != "localhost" ]; then

The weird ${SYSLOG_HOST-localhost} syntax means "if SYSLOG_HOST is set, but empty, then return the string localhost".
So to disable remote logging, one of the following could be used in lts.conf:

SYSLOG_HOST=""
or
SYSLOG_HOST="localhost"

Then there wouldn't be any need to introduce a new variable named
"SYSLOG".

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/697387

Title:
  SYSLOG option in lts.conf not documented

To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/697387/+subscriptions


References