Issue #2985701 by longwave, dagmar, catch: Followup: Move DbLogTest::generateLogEntries() into a Trait