# Trace level 1

- ## Level 1 shows method returns with first two parameters, results, and line numbers:

##

## DBI::db=HASH(0x823c6f4) trace level 0x0/1 (DBI 0x0/0) DBI 1.43 (pid 78730)

## <- prepare('UPDATE prices SET price=? WHERE prod_id=?')=

## DBI::st=HASH(0x823a478) at trace-ex1.pl line 10

## <- prepare_cached('INSERT INTO prices (prod_id,price) VALUES(?,?)')=

## DBI::st=HASH(0x823a58c) at trace-ex1.pl line 11

## <- execute('42.2' '1')= 1 at trace-ex1.pl line 12

## <- STORE('TraceLevel' 0)= 1 at trace-ex1.pl line 4

## <- DESTROY(DBI::st=HASH(0x823a478))= undef at trace-ex1.pl line 4

##

- ## Level 1 now only shows methods called by application

  - not recursive calls made by the DBI or driver

Previous slide | Next slide | Back to first slide | View graphic version