chiark / gitweb /
log: fix log_full_errno() with custom facilities
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 11 Jan 2015 02:13:46 +0000 (03:13 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 11 Jan 2015 02:16:01 +0000 (03:16 +0100)
commit24b759c5d79c1a4993c05c1ef7f44f9ff6d7f463
treed71acce6302346d0280cbf00ce067c055a89a240
parent1325ec4280dd3f00f4879c5feadd524f7ba52f7e
log: fix log_full_errno() with custom facilities

Make sure to extract the log-priority when comparing against
max-log-level, otherwise, we will always drop those messages.

This fixes bus-proxyd to properly send warnings on policy blocks.
src/shared/log.h