libreoffice-online/wsd/README.vars
Henry Castro 262d467335 wsd: update README, rename loleaflet -> browser
Change-Id: I5aaab71848add13c98ceef2946a6ca6a22ee1862
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00

35 lines
1.3 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_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.
LOOL_SERVE_FROM_FS
If mentioned, files are not loaded into the memory on start, instead they are
read from the filesystem. This can be helpful in browser development
where you can tweak it without restarting wsd.