Tuesday, 20 August 2013

Data sorting out two new files

Data sorting out two new files

I have a logfile looks like this:
[2013-08-16 03:24:39,192][INFO ][AbstractServiceInvoker
[SID:187175558][] Received request of type [ReportNotification]
I need two write out every line to a new file if contains [INFO ] to a
file called the SID name, like 187175558_xyz.txt
Thanks for helping!

No comments:

Post a Comment