added basic api logging facility