| 
					
				 | 
			
			
				@@ -32,6 +32,7 @@ function init() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const n = param.n 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const id = param.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         var app = robot.getApp(id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        logger.info(`当前参数:${id}-${n}-${app.port}`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let result = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (app.port !== -1) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -39,7 +40,7 @@ function init() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             logger.info(`日志相对地址:${logPath}`) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             file.getLastFile(logPath, 10, (fileNameList) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // logger.info('??:', fileNameList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // logger.info('??1:', fileNameList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 result = file.readLastNLines(logPath, fileNameList, n); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // logger.info('?????:', result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 res.send({'code': 200, 'data': result, "message": "SUCCESS"}); 
			 |