write log builddir