summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-02-17 22:36:00 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-02-18 14:47:19 -0500
commitc7e3617cf241a204e42c37047553e9e8ac6722c4 (patch)
treeea307eca4276a4de9e6f69d7d0cff3e793d5f17f
parent0d5286b8a67be2012e892f6762a145d89d013c44 (diff)
downloadguix-c7e3617cf241a204e42c37047553e9e8ac6722c4.tar.gz
gnu: libreoffice: Enable logging system.
* gnu/packages/libreoffice.scm (libreoffice)
[configure-flags]: Add --enable-sal-log.
-rw-r--r--gnu/packages/libreoffice.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 32802334e7..7ce89fc904 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1023,6 +1023,10 @@ commonly called @code{ftoa} or @code{dtoa}.")
       #~(list
          "--enable-release-build"
          "--with-vendor=GNU Guix"
+         ;; Without the SAL logging system enabled, LibreOffice is utterly
+         ;; silent.  Setting the environment variable 'SAL_INFO=+INFO' can be
+         ;; useful to debug problems.
+         "--enable-sal-log"
          ;; Avoid using all cpu cores by default
          (format #f "--with-parallelism=~d" (parallel-job-count))
          "--disable-fetch-external"     ; disable downloads