TRACE: add ability for logging ERRORs that occur in runtime (lock conflicts, PK/UK/FK violations et al) [CORE3539] #3896
Commented by: @hvlad
The feature is committed into v2.5.2 and will be ported forward into v3.
New trace configuration parameter is added : "log_errors". It could be used in both <database> and <services> sections.
2012-05-03T00:02:59.9390 (3324:0000000002D0A410) UNAUTHORIZED ATTACH_DATABASE
2012-05-03T00:02:59.9390 (3324:0000000002D0A410) ERROR AT jrd8_attach_database
2012-05-03T00:04:16.4080 (3324:0000000002D0A410) ERROR AT jrd8_fetch
There are two new trace events : "ERROR" and "WARNING" followed by API entrypoint name which returns error.
Transaction (statement) is not reported as part of "ERROR" and "WARNING" events as there could be no