defined logger caller

This commit is contained in:
Jan Prochazka
2023-01-21 17:49:16 +01:00
parent 4d93be61b5
commit cc0f05168d
40 changed files with 46 additions and 41 deletions

View File

@@ -7,7 +7,7 @@ const pg = require('pg');
const { createBulkInsertStreamBase, makeUniqueColumnNames } = require('dbgate-tools');
const { getLogger } = global.DBGATE_TOOLS;
const logger = getLogger();
const logger = getLogger('postreDriver');
pg.types.setTypeParser(1082, 'text', val => val); // date
pg.types.setTypeParser(1114, 'text', val => val); // timestamp without timezone