Trace level 2 and above
Level 2 adds trace of entry into methods, details of classes, handles, and more
- we’ll just look at the trace for the prepare_cached() call here:
-> prepare_cached in DBD::_::db for DBD::mysql::db (DBI::db=HASH(0x8367568)~0x83674f0 'INSERT INTO prices ...')
1 -> FETCH for DBD::mysql::db (DBI::db=HASH(0x83674f0)~INNER 'CachedKids')
1 <- FETCH= undef at DBI.pm line 1274
1 -> STORE for DBD::mysql::db (DBI::db=HASH(0x83674f0)~INNER 'CachedKids' HASH(0x8367790))
1 <- STORE= 1 at DBI.pm line 1275
1 -> prepare for DBD::mysql::db (DBI::db=HASH(0x83674f0)~INNER
'INSERT INTO prices ...' undef)
1 <- prepare= DBI::st=HASH(0x8367760) at DBI.pm line 1287
<- prepare_cached= DBI::st=HASH(0x8367760) at test.pl line 11
Trace level 3 and above shows more internal processing and driver details
Use $DBI::neat_maxlen to alter truncation of strings in trace output