[#59904370] Collect counts of log messages

Syslog and lumberjack message are both interesting in verifying whether
logging is working, so collect both counts.