User Tools

Site Tools


wiki:development:debugging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
wiki:development:debugging [2013/03/08 17:10]
sunweaver [Logging in X2Go Session Broker's Python Module]
wiki:development:debugging [2014/11/12 13:59]
sunweaver [Log File Watching]
Line 12: Line 12:
 root@x2goserver:~$ tail -f /var/log/syslog | grep x2go root@x2goserver:~$ tail -f /var/log/syslog | grep x2go
 </code> </code>
 +
 +Other logging locations apart from the system's log are:
 +
 +  * X2Go Server: ''/var/log/syslog''
 +  * X2Go Client: stderr (use ''--debug'')
 +  * PyHoca-GUI: stderr (use ''--libdebug --debug'')
 +  * Xsession itself: ''$HOME/.xsession-x2go-errors''
 +  * NX (server-side): ''$HOME/.x2go/C-<sessionid>/session.*''
 +  * NX (client-side): ''$HOME/.x2go/S-<sessionid>/session.*''
  
 ===== Enable Debug Output ===== ===== Enable Debug Output =====
Line 52: Line 61:
 The log files normally get written to ''/var/log/x2gobroker/*.log'' The log files normally get written to ''/var/log/x2gobroker/*.log''
  
 +You can also run 
 +<file>
 +root@broker:~$ x2gobroker-daemon-debug
 +</file>
 +
 +as user ''root''. This is equivalent to running the broker daemon provided by the package ''x2gobroker-daemon'', but you will see all output piped to stderr while the X2Go Session Broker daemon runs in foreground mode.
 ==== Python X2Go / PyHoca Debugging ==== ==== Python X2Go / PyHoca Debugging ====
  
wiki/development/debugging.txt ยท Last modified: 2018/03/15 11:40 by ionic