Tracing exceptions

Exception can be logged in a file when using the STARTLOG() function.

Exceptions will be automatically logged in a file, if all the following conditions are true:

In other words, errors will not be logged in the case of WHENEVER { [ANY] ERROR | WARNING } CONTINUE, or when controlled by a TRY/CATCH block.

Each log entry contains: