Record the number of messages not shown due to log level and output a single line reporting this at the end of the request