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