improve logging of less4j warnings
Merge branch 'issue704' into 1.6.x