Minor fix to logger

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>