diff --git a/scripts/wfc.mpy b/scripts/wfc.mpy index a0bd457..799c1ce 100644 --- a/scripts/wfc.mpy +++ b/scripts/wfc.mpy @@ -60,12 +60,16 @@ def dispQuickLog(log="mis"): if log.lower() == "mis": logFile = 'grep -vE "HTTP|BINKP|HostName|Blocked|Connect|EVENT" `ls -1hrt '+LOGDIR+'/mis.*.log|tail -1`|tail -n5|head -n4|cut -c -76' + logFileStatus = ' |14MIS.LOG|07 ' elif log.lower() == "mutil": logFile = 'tail -n4 '+LOGDIR+'/mutil.latest.log|cut -c -76' + logFileStatus = ' |14MUTIL.LOG|07 ' else: logFile = 'tail -n4 '+LOGDIR+'/node'+log+'.log|cut -c -76' + logFileStatus = ' |14NODE'+log+'.LOG|07 ' + + gotoxy(20,18); write(logFileStatus) - #QUICKLOG = os.popen('grep -aih "logged in$" '+LOGDIR+'/node*.log|sort|tail -n4').read() SY = 19 OS = 0 #lines = os.popen('grep -aih "logged in$" '+LOGDIR+'/node*.log|sort|tail -n4').readlines()