change log directory.