improved logging for stubs

this way we can track them down by id when they are unexpected
add support for couchbase TTL