rethink of logging support, only for invocations for now