[pulseaudio-discuss] [PATCH 0/2] Log feature: Add a new log target to a file descriptor
Vincent Becker
vincentx.becker at intel.com
Fri Mar 18 03:23:45 PDT 2011
Patches updated with latest remarks (redirection of logs to stderr in case of error).
These two patches implement a new log target in Pulseaudio. This target is a file descriptor (regular file, char device...).
It also reformats the log message for optimal calls to the write function, in case of PA_LOG_FD target type.
Vincent Becker (2):
Log feature: Add a new log target to a file descriptor
Log feature in pulsecore: optimize log data format before writing to
target
src/daemon/cmdline.c | 5 +-
src/daemon/daemon-conf.c | 23 +++++++
src/pulsecore/log.c | 147 ++++++++++++++++++++++++++++++++--------------
src/pulsecore/log.h | 5 ++
4 files changed, 133 insertions(+), 47 deletions(-)
--
1.7.2.3
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the pulseaudio-discuss
mailing list