https://www.ibm.com/docs/en/db2/11.5.x?topic=parameters-diaglevel-diagnostic-error-capture-level
diaglevel - Diagnostic error capture level configuration parameter
This parameter specifies the type of diagnostic errors that will be recorded in the db2diag log file.
diagnostic errorcapturelevelconfigurationparameter