What’s new with tracing?
Trace level now split into trace level (0-15) and trace topics
- DBI and drivers can define named trace topics
-
New $h->parse_trace_flags("foo|SQL|7")method
- map trace topic names into the corresponding trace flag bits.
-
Added automatic calling of parse_trace_flags()
- if setting the trace level to a non-numeric value:
$h->{TraceLevel} = "foo|SQL|7";
DBI->connect("dbi:Driver(TraceLevel=SQL|bar):...", ...);
DBI_TRACE = "foo|SQL|7|baz" # environment variable
Currently no trace topics have been defined.