Fixed a 2.6 vs 2.7 issue;  logging tweaks.