Random crashes with Julia 1.7

The following code also works:

log = load_log(7, logfile)
dummy = log.syslog[1]

So just adding one line solves the issue. But I think this is a bug in Julia 1.7. I will create a ticket.
https://github.com/JuliaLang/julia/issues/43611