logging bugfix for 1.5