using syslog instead of console for messages
Enrico Weigelt
enrico.weigelt at vnc.biz
Tue Aug 28 10:29:59 PDT 2012
> 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?
Why not just calling the application with
2>&1 | logger -t "libo"
in this case ?
>
> Also does "libo" makes sense as message prefix?
>
> thanks,
> riccardo
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
--
Mit freundlichen Grüßen / Kind regards
Enrico Weigelt
VNC - Virtual Network Consult GmbH
Head Of Development
Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59
enrico.weigelt at vnc.biz; www.vnc.de
More information about the LibreOffice
mailing list