small tweak in logger