diff --git a/packages/contact-manager-rest-api/__tests__/database/config.ts b/packages/contact-manager-rest-api/__tests__/database/config.ts index b2a5b8493..22b5ac922 100644 --- a/packages/contact-manager-rest-api/__tests__/database/config.ts +++ b/packages/contact-manager-rest-api/__tests__/database/config.ts @@ -15,7 +15,7 @@ const sqliteConfig: SqliteConnectionOptions = { migrationsRun: false, // We run migrations from code to ensure proper ordering with Redux synchronize: false, // We do not enable synchronize, as we use migrations from code migrationsTransactionMode: 'each', // protect every migration with a separate transaction - logging: 'warn', // 'all' means to enable all logging + logging: ['info'], // 'all' means to enable all logging logger: 'advanced-console', } diff --git a/packages/data-store/src/__tests__/contact.entities.test.ts b/packages/data-store/src/__tests__/contact.entities.test.ts index d253f2dcb..a69a393b8 100644 --- a/packages/data-store/src/__tests__/contact.entities.test.ts +++ b/packages/data-store/src/__tests__/contact.entities.test.ts @@ -50,7 +50,7 @@ describe('Database entities tests', (): void => { dbConnection = await new DataSource({ type: 'sqlite', database: ':memory:', - logging: 'warn', + logging: ['info'], migrationsRun: false, migrations: DataStoreMigrations, synchronize: false, diff --git a/packages/data-store/src/__tests__/contact.store.test.ts b/packages/data-store/src/__tests__/contact.store.test.ts index fd5c6eda0..f7dddd870 100644 --- a/packages/data-store/src/__tests__/contact.store.test.ts +++ b/packages/data-store/src/__tests__/contact.store.test.ts @@ -28,7 +28,7 @@ describe('Contact store tests', (): void => { dbConnection = await new DataSource({ type: 'sqlite', database: ':memory:', - logging: 'warn', + logging: ['info'], migrationsRun: false, migrations: DataStoreMigrations, synchronize: false, diff --git a/packages/data-store/src/__tests__/issuanceBranding.entities.test.ts b/packages/data-store/src/__tests__/issuanceBranding.entities.test.ts index 8617e427b..01aa416ac 100644 --- a/packages/data-store/src/__tests__/issuanceBranding.entities.test.ts +++ b/packages/data-store/src/__tests__/issuanceBranding.entities.test.ts @@ -23,7 +23,7 @@ describe('Database entities tests', (): void => { dbConnection = await new DataSource({ type: 'sqlite', database: ':memory:', - //logging: 'warn', + //logging: ['info'], migrationsRun: false, migrations: DataStoreMigrations, synchronize: false, diff --git a/packages/data-store/src/__tests__/issuanceBranding.store.test.ts b/packages/data-store/src/__tests__/issuanceBranding.store.test.ts index 9ef643543..69e8252d6 100644 --- a/packages/data-store/src/__tests__/issuanceBranding.store.test.ts +++ b/packages/data-store/src/__tests__/issuanceBranding.store.test.ts @@ -34,7 +34,7 @@ describe('Issuance branding store tests', (): void => { dbConnection = await new DataSource({ type: 'sqlite', database: ':memory:', - //logging: 'warn', + //logging: ['info'], migrationsRun: false, migrations: DataStoreMigrations, synchronize: false, diff --git a/packages/kv-store/README.md b/packages/kv-store/README.md index f0ca81400..a759366d9 100644 --- a/packages/kv-store/README.md +++ b/packages/kv-store/README.md @@ -76,7 +76,7 @@ import { DataSource } from 'typeorm' dbConnection = await new DataSource({ type: 'sqlite', database: ':memory:', - logging: 'warn', + logging: ['info'], migrationsRun: true, synchronize: false, migrations: [...kvStoreMigrations], diff --git a/packages/oid4vci-issuer-rest-api/__tests__/database/config.ts b/packages/oid4vci-issuer-rest-api/__tests__/database/config.ts index 8a2ada465..06dd9fffc 100644 --- a/packages/oid4vci-issuer-rest-api/__tests__/database/config.ts +++ b/packages/oid4vci-issuer-rest-api/__tests__/database/config.ts @@ -15,7 +15,7 @@ const sqliteConfig: SqliteConnectionOptions = { migrationsRun: false, // We run migrations from code to ensure proper ordering with Redux synchronize: false, // We do not enable synchronize, as we use migrations from code migrationsTransactionMode: 'each', // protect every migration with a separate transaction - logging: 'warn', // 'all' means to enable all logging + logging: ['info'], // 'all' means to enable all logging logger: 'advanced-console', } diff --git a/packages/siopv2-oid4vp-rp-rest-api/__tests__/database/config.ts b/packages/siopv2-oid4vp-rp-rest-api/__tests__/database/config.ts index 8a2ada465..06dd9fffc 100644 --- a/packages/siopv2-oid4vp-rp-rest-api/__tests__/database/config.ts +++ b/packages/siopv2-oid4vp-rp-rest-api/__tests__/database/config.ts @@ -15,7 +15,7 @@ const sqliteConfig: SqliteConnectionOptions = { migrationsRun: false, // We run migrations from code to ensure proper ordering with Redux synchronize: false, // We do not enable synchronize, as we use migrations from code migrationsTransactionMode: 'each', // protect every migration with a separate transaction - logging: 'warn', // 'all' means to enable all logging + logging: ['info'], // 'all' means to enable all logging logger: 'advanced-console', } diff --git a/packages/uni-resolver-registrar-api/__tests__/database/config.ts b/packages/uni-resolver-registrar-api/__tests__/database/config.ts index d95fd7323..86e956319 100644 --- a/packages/uni-resolver-registrar-api/__tests__/database/config.ts +++ b/packages/uni-resolver-registrar-api/__tests__/database/config.ts @@ -13,7 +13,7 @@ const sqliteConfig: SqliteConnectionOptions = { migrationsRun: false, // We run migrations from code to ensure proper ordering with Redux synchronize: false, // We do not enable synchronize, as we use migrations from code migrationsTransactionMode: 'each', // protect every migration with a separate transaction - logging: 'warn', // 'all' means to enable all logging + logging: ['info'], // 'all' means to enable all logging logger: 'advanced-console', } diff --git a/packages/vc-status-list-issuer-rest-api/__tests__/database/config.ts b/packages/vc-status-list-issuer-rest-api/__tests__/database/config.ts index eaccc01fc..e6c4fd630 100644 --- a/packages/vc-status-list-issuer-rest-api/__tests__/database/config.ts +++ b/packages/vc-status-list-issuer-rest-api/__tests__/database/config.ts @@ -20,7 +20,7 @@ const sqliteConfig: SqliteConnectionOptions = { migrationsRun: false, // We run migrations from code to ensure proper ordering with Redux synchronize: false, // We do not enable synchronize, as we use migrations from code migrationsTransactionMode: 'each', // protect every migration with a separate transaction - logging: 'warn', // 'all' means to enable all logging + logging: ['info'], // 'all' means to enable all logging logger: 'advanced-console', } @@ -34,7 +34,7 @@ const postgresConfig: PostgresConnectionOptions = { migrationsRun: false, // We run migrations from code to ensure proper ordering with Redux synchronize: false, // We do not enable synchronize, as we use migrations from code migrationsTransactionMode: 'each', // protect every migration with a separate transaction - logging: 'warn', // 'all' means to enable all logging + logging: ['info'], // 'all' means to enable all logging logger: 'advanced-console', } export { sqliteConfig, postgresConfig, DB_CONNECTION_NAME_SQLITE, DB_CONNECTION_NAME_POSTGRES, DB_ENCRYPTION_KEY } diff --git a/packages/w3c-vc-api/__tests__/database/config.ts b/packages/w3c-vc-api/__tests__/database/config.ts index 1fd88efe2..e6067cdb0 100644 --- a/packages/w3c-vc-api/__tests__/database/config.ts +++ b/packages/w3c-vc-api/__tests__/database/config.ts @@ -17,7 +17,7 @@ const sqliteConfig: SqliteConnectionOptions = { migrationsRun: false, // We run migrations from code to ensure proper ordering with Redux synchronize: false, // We do not enable synchronize, as we use migrations from code migrationsTransactionMode: 'each', // protect every migration with a separate transaction - logging: 'warn', // 'all' means to enable all logging + logging: ['info'], // 'all' means to enable all logging logger: 'advanced-console', } @@ -31,7 +31,7 @@ const postgresConfig: PostgresConnectionOptions = { migrationsRun: false, // We run migrations from code to ensure proper ordering with Redux synchronize: false, // We do not enable synchronize, as we use migrations from code migrationsTransactionMode: 'each', // protect every migration with a separate transaction - logging: 'warn', // 'all' means to enable all logging + logging: ['info'], // 'all' means to enable all logging logger: 'advanced-console', }