[X2go-Dev] X2go Server and syslogging
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Sat Sep 10 08:14:51 CEST 2011
Hi all,
On Fr 09 Sep 2011 18:31:26 CEST Mike Gabriel wrote:
> hi all,
>
> today I have added syslog support to all X2go Server scripts.
> Currently, two log levels are used:
>
> debug -> mostly for db debugging
> info -> write to syslog whenever one of the X2go Server commands is called
>
> The default loglevel is ,,notice''. For this level, I plan to log if
> a session has been started/suspended/resumed/terminated.
the syslogging feature in x2goserver and cups-x2go is now +/- complete
and ready for testing. For those interested in testing:
o install x2goserver+cups-x2go from our nightly builds (Debian/Ubuntu)
o edit /etc/x2go/x2goserver
o there should be a ini section [log] with only option loglevel=
o switch it to err, warning, notice, info or debug here
o use your x2goserver and watch the /var/log/syslog file meanwhile...
As I have edited mostly all x2goserver scripts to implement this,
there might be some typos or other bugs that sneaked in. Please help
with testing the modified code.
The full diff for x2goserver syslogging is this:
git diff
7f7ec2c82959950ef5ef2186b2c2ff658f8508ca..f12dab5a48c70cd32a54ddb5418948bd28dad2b1
Greets+Thanks,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20110910/b3cc760c/attachment.pgp>
More information about the x2go-dev
mailing list