[PATCH] pulsecore: Introduce PULSE_LOG_JOURNAL environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2015-08-14 at 18:47 +0200, Ahmed S. Darwish wrote:
> By introducing such an environment variable, applications using the
> PA client libraries can configure these libraries to send their logs
> directly to the journal.
> 
> While client libraries journal logging can be indirectly achieved
> using PULSE_LOG_SYSLOG, this pollutes the journal. Meta data gets
> replicated twice: once in the journal meta fields and once in the
> syslog(3) plain-text message itself.
> 
> For attaching any backtraces, also introduce the PA-specific journal
> meta field PULSE_BACKTRACE. This is the recommend journal practice
> instead of appending any furuther data to the logging message itself.
> 
> Signed-off-by: Ahmed S. Darwish <darwish.07 at gmail.com>
> ---
>  src/pulse/pulseaudio.h | 8 ++++++++
>  src/pulsecore/log.c    | 7 +++++++
>  2 files changed, 15 insertions(+)

Thanks! Applied to the "next" branch.

-- 
Tanu


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux