show number of consecutive log messages correctly