Use of log directory