The reason is quite simple: just like prices and assets, there is also no logfile in the INITRUN. The INITRUN is for initializing parameters. As you're setting the LOGFILE flag in the script, Zorro can only know after the first run whether to open a logfile at all or not.