added stop logging if low on disk space