I would say yes. Registration is the only way to determine what happened in the past - if a client calls and says that something is not as expected, without a log, all you can do is shrug and try to reproduce the error. Sometimes this is not possible (depending on the complexity of the software and depending on the client’s data).
There is also a question about registration for audit, the log file can be written with information about what the user is doing, so you can use this to narrow down the debugging capabilities of the problem or even check the requirements of users (if you received a message about a system violation, xyz did not happen , you can look in the logs to find out that the operator could not start this process or did not right-click to make it work)
Then reporting is recorded, and this is what most people think of registration.
If you can configure the log output, put everything in the logs and decrease or increase the amount of data that will be written. If you can dynamically change the output level, then this is ideal.
You can use any methods of logging, taking into account performance problems. I believe that adding to a text file is the best, most portable, easy to view and (very important) easiest to extract when you need it.
gbjbaanb Oct 05 '08 at 18:26 2008-10-05 18:26
source share