398092 (1) [Avatar] Offline
#1
Hi ,

Would someone please tell me how i can perform the below.

I just want to capture the list of logs from different locations ,i just want the logs data in between the "test case" starts and stops

i.e., the testcase starts at 12:01 and ends 12:02 i want the contents of the logs between those 2 minutes

Server System:

error.log is in path "/scratch/foo/bar"
diagnostic.log is in path "/scratch/bar/foo"

when TestCase1 on run i just want to capture the file from current time to end time of the testcase and stores this intermediate logs as TC1_error.log and TC1_diaganostic.log under testcase result folder.


Regards,
Suman.