server config and remove log folder