/api/log/:token


View a session’s log file

Method

POST

Parameters

  • id — Xrdp session id
  • log — log file to view (see notes)

Notes

This command dumps the contents of specific session files located in $HOME/.fastx_server/hostname/sessions/FX-:id

The log parameter can be one of the following

  • server — standard error from the server (server_log)
  • xrdp — xrdp log  (xrdp.log)
  • app — standard error from the application (command)
  • stdout — standard output from the application

Result

JSON object with the following members

  • contents — contents of the log that was specified