This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:development:debugging [2013/03/08 17:07] sunweaver [Logging in X2Go Server's Perl Scripts] |
wiki:development:debugging [2013/03/08 17:10] sunweaver [Logging in X2Go Session Broker's Python Module] |
||
---|---|---|---|
Line 71: | Line 71: | ||
- | ==== Logging in X2go Shell/Bash Scripts ==== | + | ==== Logging in X2Go Server' |
Whereever you want to write a line to syslog from an X2Go Shell/Bash script, place this command: | Whereever you want to write a line to syslog from an X2Go Shell/Bash script, place this command: | ||
Line 80: | Line 80: | ||
+ | ==== Logging in X2Go Session Broker' | ||
+ | |||
+ | Whereever you want to write a line to ''/ | ||
+ | |||
+ | < | ||
+ | # at the top of the module file: | ||
+ | from x2gobroker.loggers import logger_broker | ||
+ | # [...] then further below, wherever needed: | ||
+ | logger_broker.debug('< | ||
+ | </ | ||