Init logging before actually using it
authorPetr Štetiar <ynezz@true.cz>
Mon, 27 May 2019 13:06:31 +0000 (15:06 +0200)
committerPetr Štetiar <ynezz@true.cz>
Mon, 27 May 2019 13:06:31 +0000 (15:06 +0200)
commit41e4163b2e7f4c1c1f51cdfa487d6052ff859cf2
tree405596b2a1a8e4b01debcf67f971b2914aca121f
parent7146f0c33c4f68883e60169066a4a863ae388fc5
Init logging before actually using it

Otherwise we don't get urngd: prefixed log messages which might be
confusing:

 procd: - watchdog -
 jent-rng init failed, err: 2
 procd: - watchdog -

While at it add missing newline in one error message.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
urngd.c