Add log_custom; adjust logging to {ok, Value} return