Re: using syslog instead of console for messages

2012-08-29 Thread Enrico Weigelt
> 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. I

Re: using syslog instead of console for messages

2012-08-28 Thread Stephan Bergmann
On 08/27/2012 08:04 PM, Riccardo Magliocchetti wrote: So here's a quick patch, not even compile tested because i have few questions to resolve before considering it ready for review: - what about errors? it looks like SAL does not have a level for errors. I'd like to have the errors in vcl/headl

Re: using syslog instead of console for messages

2012-08-27 Thread Riccardo Magliocchetti
Hello, Il 27/08/2012 09:41, Riccardo Magliocchetti ha scritto: 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

Re: using syslog instead of console for messages

2012-08-27 Thread Riccardo Magliocchetti
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

Re: using syslog instead of console for messages

2012-08-27 Thread Stephan Bergmann
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 ma

using syslog instead of console for messages

2012-08-26 Thread Riccardo Magliocchetti
Hello Stephan, all, 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