[Libreoffice-commits] core.git: include/sal

Thorsten Behrens Thorsten.Behrens at CIB.de
Tue Jan 16 17:58:43 UTC 2018


 include/sal/log.hxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit d6d9481a8dea2d88374f8293debb4b28c1c2e0d1
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date:   Tue Jan 16 18:57:25 2018 +0100

    sal: document more logging options
    
    Change-Id: I19630ddf3ee6ece9b7571d971c6cff1e86884256

diff --git a/include/sal/log.hxx b/include/sal/log.hxx
index a01dc8988e20..6bcd34b09fe2 100644
--- a/include/sal/log.hxx
+++ b/include/sal/log.hxx
@@ -281,6 +281,12 @@ inline char const * unwrapStream(SAL_UNUSED_PARAMETER StreamIgnore const &) {
     output is subject to change.  The log output is printed to stderr without
     further text encoding conversion.
 
+    On some systems, log output can be redirected to other log sinks,
+    notably a file provided as a system path and filename via
+    environment variable SAL_LOG_FILE; or to a syslog facility if
+    LibreOffice is suitably built, by setting environment variable
+    SAL_LOG_SYSLOG.
+
     @see @ref sal_log_areas
 
     @attention For now, this functionality should only be used internally within


More information about the Libreoffice-commits mailing list