When an error happens in X3, dump the details of the error into an Error Log table. Having this log in a table would allow better trouble-shooting by allowing us to look for patterns, such as when the error started occurring. This is especially important considering the fact that some users ignore what they consider non-critical errors and do not report these errors to the System Administrator.
The error log table should capture the following information:
1. Error Message
2. Program Name and Line Number where the error occurred
3. User who received the error
4. Task Name (ex. "Production BOMs")
5. Dump of global variable values
6. Dump of local variable values
7. Program Call Stack at the time of the error
Accompanying this error log table, there would need to be the following features added to X3:
1. Error Log Inquiry - This inquiry would allow the System Administrator to view whether anyone user has been having errors and to trouble shoot those errors. This inquiry should allow the Admin to filter on a date range, error message, program name, user, or task name.
2. Error Log Parameter - A parameter would need to be added to the system to indicate how long error log records should be kept before they are deleted. The default would be 12 months.
by: David P. | over a year ago | Technical
Comments