Should always flush the buffered logs in awk pipe
Merge pull request #2 from pfxuan/PAT-flushAwk

Should always flush the buffered logs in awk pipe