B
Brad Winborg
Ruby scripting - I am just starting to learn Ruby and I wanted to know
if anyone out there knows it well. I am trying to do a project and I
have run into a problem.
I have an executable file that when run creates (n) number of error
logs. So from a command prompt you run the ,exe with with (n) being the
number of logs you wish to create. We will make n =10. Then using ruby
create a program that will search through those 10 error logs and find
and display how many times the word error is found and how many times
the word warning is found. Then Produce a report showing the number of
error and warning log messages for 10-minute over the entire length of
time represented by the generated log files.
if anyone out there knows it well. I am trying to do a project and I
have run into a problem.
I have an executable file that when run creates (n) number of error
logs. So from a command prompt you run the ,exe with with (n) being the
number of logs you wish to create. We will make n =10. Then using ruby
create a program that will search through those 10 error logs and find
and display how many times the word error is found and how many times
the word warning is found. Then Produce a report showing the number of
error and warning log messages for 10-minute over the entire length of
time represented by the generated log files.