Fixes error in log handler logic.
Fixes error in log handler logic.

What log handler is used is now actually correct.

Signed-off-by: Joakim Gross <252a2611efec4b00fafd78abb80b692484753d75@pelagicore.com>

Pelagicore/dbus-proxy,Pelagicore/dbus-proxy,breakreturn/dbus-proxy,breakreturn/dbus-proxy