improving logging in memcache