Work even if dbus gem is missing or input context is not found.
Remove unused log functions