chiark / gitweb /
log: add new log output mode, that prints to console, but prefixes with syslog priority
authorLennart Poettering <lennart@poettering.net>
Thu, 22 Jan 2015 02:47:46 +0000 (03:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 22 Jan 2015 03:02:07 +0000 (04:02 +0100)
commitaca83a53ee1dd01beafcd07c55c4cd6c3efb4224
treec81270c1d0bfb7e607445ff512846d3187b81350
parent07e10d1a7c7535bd3938b09a11bf29b94a9dae77
log: add new log output mode, that prints to console, but prefixes with syslog priority

This is useful when we execute our own programs, reading output from its
STDERR, and want to retain priority information.
src/shared/log.c
src/shared/log.h