sandbox: support logfile rotation

Fixes bug 12032; bugfix on 0.2.5.1-alpha
fix a wide line