Hello,
When I create database connection dynamically in my application with setConfig() (i.e. datasource setting not written in app.php or written but reconfigured)
DebugKit SQL Log is not working for this connection.
Can I enable DebugKit SQL Log for this kind of connection?
in app.php
‘Datasources’ => [
‘connectionA’ => […]
],
… SQL log works
in controller
ConnectionManager::setConfig(‘connectionB’, $new_config);
… SQL log doesn’t works
‘log’ => true did not affect this issue.
Thanks