fix: tests: debug log for tests by default

and fix test that didn't consider that there might be other logs from
other threads.

Closes #33797.
8 jobs for maint-1.1_issue33797 in 26 minutes and 59 seconds (queued for 2 seconds)
latest
Status Name Job ID Coverage
  Test
passed python310 #14387

00:12:04

passed python36 #14380

00:12:19

passed python37tor035 #14381

00:12:14

passed python37tor045 #14382

00:12:15

passed python37tormaster #14383

00:12:12

passed python37torstable #14384

00:14:04

passed python38 #14385

00:14:45

passed python39 #14386

00:12:05