add syslog for api calls, tweak map for debugging