add lock ,log file