Make the resource limit warning more noticeable during tests.
Fix missing log directory on first startup.

This accidentally got broken when flattening the log directory structure
in 9955af00acb577777cd7bb0af644f975652bb520