misc. log-snarfing utilities