pluggable logger thing - now with the other 50% of the commit