Enable syslog logging by default; updated API to use xbps_handle::flags.