Skip to content

Commit 2fef0cf

Browse files
committed
Terser log message #8635
Because we don't really need to make the distinction between queries, statement and execution of a statement via `Statement` object.
1 parent dc3d87c commit 2fef0cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DBAL/Logging/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ public function prepare(string $sql): DriverStatement
2828

2929
public function query(string $sql): Result
3030
{
31-
_log()->debug('Executing query: {sql}', ['sql' => $sql]);
31+
_log()->debug($sql);
3232

3333
return parent::query($sql);
3434
}
3535

3636
public function exec(string $sql): int|string
3737
{
38-
_log()->debug('Executing statement: {sql}', ['sql' => $sql]);
38+
_log()->debug($sql);
3939

4040
return parent::exec($sql);
4141
}

0 commit comments

Comments
 (0)