libreoffice-online/wsd/README.vars

36 lines
1.3 KiB
Text
Raw Normal View History

* 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 loleaflet development
where you can tweak it without restarting wsd.