more detailed logging messages

and bug fixes for es_sub, need to use strong refs
bug fix for logutils