adding smarter JDK 1.7 #getParentLogger 1518

This is a proposed fix for GH#1518