Fixed minor bug in logHierarchy.