using syslog instead of console for messages

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Mon Aug 27 00:41:52 PDT 2012


Hello Stephan,

Il 27/08/2012 09:13, Stephan Bergmann ha scritto:
> On 08/26/2012 12:34 PM, Riccardo Magliocchetti wrote:
>> while in headless mode i'd like to have messages delivered to syslog
>> instead of stderr / stdout, looking at the SAL_* implementation it looks
>> like what i want is to substitute the std::fputs in
>> osl/all/log.cxx::log() with syslog() plus some map between these levels
>> and syslog ones. Is that ok?
>
> yes
>
>> Also does "libo" makes sense as message prefix?
>
> why not "libreoffice"?

i was afraid it was quite a long string, but i have way longer prefixes 
in my syslog so let's go with full "libreoffice".

thanks,
riccardo


More information about the LibreOffice mailing list