Updated how-to for the new rsyslog format and logging to a separate
file:

1) Create /etc/rsyslog.d/20-ltsp.conf with the following contents:
ruleset(name="remote") {
    action(type="omfile" file="/var/log/ltsp-clients.log")
}

# bind ruleset to tcp listener and activate it:
module(load="imudp")
input(type="imudp" port="514" ruleset="remote")

2) Restart rsyslog:
sudo service rsyslog restart

3) Set the following line in lts.conf:
SYSLOG_HOST=server

4) Restart clients, you can now see their output in the server, with e.g.
tail -f /var/log/ltsp-clients.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to