test in log directory exist