mkdir log directory if it doesn't existed.