fixed build log saving