EPG123 Log Parser
Posted: Mon Dec 11, 2017 11:01 pm
Hello everyone!
I guess I'm getting too lazy, too old, eyesight going bad, or a combination of all of it. I know I can open the trace.log file and visually scan it or perform a search in notepad for errors and whatnot... But, it all comes back to lazy, old, failing eyesight (and probably other stuff as well).
Anyway, I decided to try and make it easy on myself because Gary has done such a wonderful job on his program that I don't find myself looking at the logs much at all. When I do, I find that they've grown pretty sizable and tedious for an old geezer to navigate. Besides, all I want to look at are the errors, warnings, and stats. So I wrote a little utility to help me with that.
It's called "EPG123 Log Parser" and it's a simple exe that can be dropped anywhere. I dropped it in a folder under my EPG123 directory called "Other Stuff".
The first time it's run, it will create an ini file (saving file names and locations) in the same directory that it's run from. It will also create 2 dll files that give it access to:
wwsop34i.dll - Shell operations (for file operation capabilities)
WBDIB44I.DLL - WIL Interpreter (Interprets the source instructions)
These can be safely deleted and will be created each time the parser is run.
The first time It's run it needs to know where the EPG123 log file is located. I had multiple log files, so I just selected one of them.
After that I created a simple interface that shows me the file that I'm working with and then gives me options for what I'd like to see.
Errors - Creates a concise listing of errors.
Warnings - Creates a concise listing of warnings.
Stats - Creates a concise listing of stats.
Full Log - Opens the currently selected log file.
Select Different Log File - I had multiple log files, so I needed a way to select a different one!
Exit - ...
When a button is pressed (for example Errors) the program will open the selected log file in READ ONLY mode. As it analyzes each line of the log, it will copy only the relevant lines to a new file. When it has analyzed each line in the log, it will open a new Notepad document.
It creates these "trash" files in the same directory as the log file that was selected and names them "OK_TO_DELETE_XXXXXXOutput.txt". Where "XXXXXX" is Error, Stats, or Warning as applicable.
And as it says, they're OK to delete! All in all it creates 6 files (3 text files, 2 dll's, and an ini file) that can be easily deleted. It doesn't write anything to the registry and deleting the exe is all that's needed to "uninstall" it.
I've successfully run it in Windows 10(x64) and Windows 7 Pro(x64).
I guess I'm getting too lazy, too old, eyesight going bad, or a combination of all of it. I know I can open the trace.log file and visually scan it or perform a search in notepad for errors and whatnot... But, it all comes back to lazy, old, failing eyesight (and probably other stuff as well).
Anyway, I decided to try and make it easy on myself because Gary has done such a wonderful job on his program that I don't find myself looking at the logs much at all. When I do, I find that they've grown pretty sizable and tedious for an old geezer to navigate. Besides, all I want to look at are the errors, warnings, and stats. So I wrote a little utility to help me with that.
It's called "EPG123 Log Parser" and it's a simple exe that can be dropped anywhere. I dropped it in a folder under my EPG123 directory called "Other Stuff".
The first time it's run, it will create an ini file (saving file names and locations) in the same directory that it's run from. It will also create 2 dll files that give it access to:
wwsop34i.dll - Shell operations (for file operation capabilities)
WBDIB44I.DLL - WIL Interpreter (Interprets the source instructions)
These can be safely deleted and will be created each time the parser is run.
The first time It's run it needs to know where the EPG123 log file is located. I had multiple log files, so I just selected one of them.
After that I created a simple interface that shows me the file that I'm working with and then gives me options for what I'd like to see.
Errors - Creates a concise listing of errors.
Warnings - Creates a concise listing of warnings.
Stats - Creates a concise listing of stats.
Full Log - Opens the currently selected log file.
Select Different Log File - I had multiple log files, so I needed a way to select a different one!
Exit - ...
When a button is pressed (for example Errors) the program will open the selected log file in READ ONLY mode. As it analyzes each line of the log, it will copy only the relevant lines to a new file. When it has analyzed each line in the log, it will open a new Notepad document.
It creates these "trash" files in the same directory as the log file that was selected and names them "OK_TO_DELETE_XXXXXXOutput.txt". Where "XXXXXX" is Error, Stats, or Warning as applicable.
And as it says, they're OK to delete! All in all it creates 6 files (3 text files, 2 dll's, and an ini file) that can be easily deleted. It doesn't write anything to the registry and deleting the exe is all that's needed to "uninstall" it.
I've successfully run it in Windows 10(x64) and Windows 7 Pro(x64).