I'm wondering how to handle errors/notifications on scripts.
Currently, I'm working in the analysis of systems which interact together. Right now there is a mess because they neither log information nor parse the data before process. Moreover some scripts send email notification which is a headache because each script do so and it is almost impossible to change each script in order to snooze.
Code:
I'm thinking into create logs file telling about the process on the script and log the information on specific files like:
SCRIPTNAME_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND.log
Then use the another entity (program, software, script) to check the log files looking for any error.
Code:
Q1: Any one has a better idea approach to accomplish this task?.
Q2: Do you know a good log analyzer (program, software, script), which is possible to modify and customize to my needs.
Greetings.