sets the logger on the treebuilder when getting the content handler thanks to Michel Lehon for spotting this