extract logging interface
working towards removing groupcache dependency