Emits log messages at a configurable rate, severity mix and shape, to put the logging path (LogSender -> IceStorm "Log" topic -> LogViewer GUI) under a reproducible load. More...

Classes

class  LogSpamTest
 Generates configurable log load for testing the logging path. More...
 

Detailed Description

Emits log messages at a configurable rate, severity mix and shape, to put the logging path (LogSender -> IceStorm "Log" topic -> LogViewer GUI) under a reproducible load.

Every message is unique: the text is assembled from random words plus a per-thread counter and a random id. That matters because the viewer deduplicates nothing and because identical lines would not exercise its per-entry work realistically.

The knobs are chosen to reach the parts of the path that actually cost something:

The component name shown in the viewer is the application name, so a scenario runs several instances of this app to produce several distinct log sources.