made the logger more configurable

Made the logger listener more configurable (see #924.)
Lazyness? More seriously, I don't really remember the reason, but if we want to change that, it needs to be done on the whole code base. 2.0 is probably the right time.