Minor bugfix on the new logger