Solve possible problems with logs removing.
Revert previous commit.
Fix error in build_toolchain script.