diff --git a/packages/cubejs-testing-drivers/src/helpers/getDriver.ts b/packages/cubejs-testing-drivers/src/helpers/getDriver.ts index 9e61439c309ad..b1908cbfed3b7 100644 --- a/packages/cubejs-testing-drivers/src/helpers/getDriver.ts +++ b/packages/cubejs-testing-drivers/src/helpers/getDriver.ts @@ -8,6 +8,7 @@ export async function getDriver(type: string): Promise<{ return import(`@cubejs-backend/${type}-driver`).then((module) => { // eslint-disable-next-line new-cap const source: BaseDriver = new module.default(); + source.setLogger((msg: unknown, event: unknown) => console.log(`${msg}: ${JSON.stringify(event)}`)); const storage = new CubeStoreDriver(); return { source, storage }; });