UTIL: Add wrapper function to configure logger
Let's use one enum for logger type instead of many integers (debug_to_file,
debug_to_stderr plus some weird combination for journald).
Old variable were also transformed to enum for backward compatibility
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>