1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-25 23:16:41 +07:00

#5 restricted db logging to debug only

This commit is contained in:
Fedor Katurov 2021-05-12 14:49:21 +07:00
parent 70ce0bff1c
commit 2af91bbf0d
2 changed files with 7 additions and 3 deletions

View file

@ -10,7 +10,7 @@ async function main() {
try {
const config = prepareConfig();
const db = new PostgresDB(config.postgres);
const db = new PostgresDB(config.postgres, config.logger);
await db.connect();
const telegram = new TelegramService(config.telegram);