Help about this scenario

I think these questions are being covered in this thread - Program for send log from Linux