[pulseaudio-discuss] [PATCH 1/2] Log feature: Add a new log target to a file descriptor

Becker, VincentX vincentx.becker at intel.com
Mon Mar 21 09:43:05 PDT 2011


>>'Twas brillig, and Vincent Becker at 18/03/11 10:23 did gyre and
>gimble:
>>> This patch enables logging of text debug messages (pa_log feature)
>>into a file or a device driver.
>>> Example : pulseaudio --log-target=file:./mylog.txt
>>
>>Many thanks for your perseverence here. We were beginning to worry we
>>were annoying you too much with constant tweaks for a relatively simple
>>patch.
>>
>
>Hi Col,
>I actually crashed my Linux environment, this is why it took me some
>time to recover and get back to you.
>
>>I did actually make a couple extra tweaks on top of this one which I've
>>attached FYI. One of them was to fix the double close that Arun pointed
>>out before and was still in this version.
>>
>>If I've cocked it up, please feel free to publicly humiliate me in a
>>manner of your choosing.
>>
>
>No worries! It's cleaner like that I admit.

OOOps! I just noticed a naughty integration error of mine. Unluckily, in the process of redelivering, I did not retest so in daemon-conf.c, it is implemented in the wrong function pa_daemon_conf_set_log_level. It should be in the function just above pa_daemon_conf_set_log_target. Both functions look very similar and are one above each other, so there was still a tiny chance to mess up ! Sorry, sorry..
Should I resent by the way a corrected version ?

Vincent

>Thanks
>Vincent
>
>>Many thanks.
>>
>>Col
>>
>>--
>>
>>Colin Guthrie
>>gmane(at)colin.guthr.ie
>>http://colin.guthr.ie/
>>
>>Day Job:
>>  Tribalogic Limited [http://www.tribalogic.net/] Open Source:
>>  Mageia Contributor [http://www.mageia.org/]
>>  PulseAudio Hacker [http://www.pulseaudio.org/]
>>  Trac Hacker [http://trac.edgewall.org/]
>---------------------------------------------------------------------
>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.
>_______________________________________________
>pulseaudio-discuss mailing list
>pulseaudio-discuss at mail.0pointer.de
>https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
---------------------------------------------------------------------
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