log: unchecked return value from library

fix 1237557 Unchecked return value from library

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>