Comment 10 for bug 697387

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

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