theniteowl
Programmer
Hi All,
We have an application that creates multiple log files.
The log gets split off if it goes over a certain size or beyond a certain date.
The effect is that we will have system.log, system_001, 002, 003, 004.log and there could be multiple dates contained in one log file or one date that spans several files. The files are appended to so the older date/time is at the top and the newer at the bottom.
I want to read through these breaking the entries out into individual files for each date and it looks like it will get a little comlicated.
Some of these files can get very large. I was thinking I could just append all the files together into one file then all the entries would be sequential and it would greatly simplify my script. But this could mean an enormous file to process. How good would VBS be a parsing through the text of a very large file? We could be looking at as much as 60 MB of text.
Not only do I want to separate the logs into individual date logs I want to skip processing any dates that have already been done and only have my script pulling out new data and this is where it gets more complicated.
Thoughts?
At my age I still learn something new every day, but I forget two others.
We have an application that creates multiple log files.
The log gets split off if it goes over a certain size or beyond a certain date.
The effect is that we will have system.log, system_001, 002, 003, 004.log and there could be multiple dates contained in one log file or one date that spans several files. The files are appended to so the older date/time is at the top and the newer at the bottom.
I want to read through these breaking the entries out into individual files for each date and it looks like it will get a little comlicated.
Some of these files can get very large. I was thinking I could just append all the files together into one file then all the entries would be sequential and it would greatly simplify my script. But this could mean an enormous file to process. How good would VBS be a parsing through the text of a very large file? We could be looking at as much as 60 MB of text.
Not only do I want to separate the logs into individual date logs I want to skip processing any dates that have already been done and only have my script pulling out new data and this is where it gets more complicated.
Thoughts?
At my age I still learn something new every day, but I forget two others.