update url log file
This commit is contained in:
		
							parent
							
								
									eecd461d84
								
							
						
					
					
						commit
						e6eaf14f4b
					
				| 
						 | 
				
			
			@ -74,7 +74,7 @@ const { addLogFunction } = require("./addLogFunctionJS");
 | 
			
		|||
    }
 | 
			
		||||
  }, 5000);
 | 
			
		||||
  const fileName =
 | 
			
		||||
      "./app/store/logsAPI/" +
 | 
			
		||||
      "/home/Log_service/app/store/logsAPI/" +
 | 
			
		||||
      moment(Date.now()).format("DD_MM_YYYY").toString() +
 | 
			
		||||
      ".log";
 | 
			
		||||
  addLogFunction(fileName, JSON.stringify(params, null, 2), "powerSchedule")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1191,7 +1191,7 @@ const checkMultipleRequest = async () => {
 | 
			
		|||
      allResponse += JSON.stringify(r, null, 2);
 | 
			
		||||
    });
 | 
			
		||||
    const fileName =
 | 
			
		||||
      "./app/store/logsAPI/" +
 | 
			
		||||
      "/home/Log_service/app/store/logsAPI/" +
 | 
			
		||||
      moment(Date.now()).format("DD_MM_YYYY").toString() +
 | 
			
		||||
      ".log";
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue