log folder must exist