[RFC] syslog output from SAL_* messages

Miklos Vajna vmiklos at suse.cz
Tue Dec 18 00:10:54 PST 2012

On Mon, Dec 17, 2012 at 09:15:21PM +0100, Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com> wrote:
> i've refreshed my patch for adding possibility to send SAL_*
> messages to syslog. I have two issues:
> - am not able to send the ENABLE_SYSLOG definition down to
> sal/osl/unx/salinit.cxx
> - if i add calls to SAL_INFO in vcl/headless/headlessinst.cxx like,
> i see the fprintf but i don't see the SAL_INFO one. Tried with
> SAL_WARN, same result.

What environment variable did you use? SAL_INFO is disabled by default,
you need something like SAL_LOG=+INFO.vcl to get it. The trailing
newline is not necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20121218/48fcba4a/attachment.pgp>

More information about the LibreOffice mailing list