libreoffice-online/wsd/README.vars
Pranav Kant 8a02e7a8fa wsd: Debugging environment vars to debug storages
Also, extend the LOOLProtocol::tokenize to accept a custom delimeter.

Change-Id: I7f789e703c5c8d2ad325b3dd149ba888c722f5f3
2017-05-17 16:30:33 +05:30

37 lines
1.4 KiB
Text

* Brief description of environment variables *
LOOL_DEBUG <set/unset>
if set handles a fatal signal by printing a message
containing the PID and waiting 30 seconds to allow
a 'sudo gdb' to be attached.
LOOL_LOGLEVEL <level>
set the log level & verbosity to <level> - values of
<level> are one of:
none (turns off logging), fatal, critical,
error, warning, notice, information, debug,
trace
LOOL_NO_AUTOSAVE <set/unset>
if set avoids automatic saving of the document being
edited.
SLEEPFORDEBUGGER <seconds to sleep>
sleep <n> seconds in the broken process after starting in
order to allow a 'sudo gdb' session to 'attach <pid>' to them.
SLEEPKITFORDEBUGGER <seconds to sleep>
sleep <n> seconds in each kit process instance after forking,
to allow a 'sudo gdb' session to attach and debug that
process.
LOOL_WS_DELAY <base delay in milliseconds in websocket communication>
sleep atleast <n> seconds when sending and receiving websocket frames
LOOL_WS_JITTER <jitter in milliseconds for websocket communication>
Maximum Jitter in millseconds which is added to delay in
websocket communication.
LOOL_STORAGE_COOKIE <key:value>
Sets a cookie to all the requests made to storage. This is extremely useful for
debugging WOPI implementations. For eg: Using XDebug with OwnCloud/NextCloud.