diff --git a/src/mail_order_bot/config.yml b/src/mail_order_bot/config.yml index f7bf06b..8ce0a0e 100644 --- a/src/mail_order_bot/config.yml +++ b/src/mail_order_bot/config.yml @@ -1,7 +1,7 @@ # === Раздел с общими конфигурационными параметрами === -update_interval: 2 -work_interval: 2 +update_interval: 10 +work_interval: 30 email_dir: "spareparts" @@ -32,26 +32,27 @@ log: maxBytes: 500000 backupCount: 10 - #telegram: - # level: CRITICAL - # formatter: telegram - # class: logging_telegram_handler.TelegramHandler - # chat_id: 211945135 - # alias: "PDC" + telegram: + level: CRITICAL + formatter: telegram + class: logging_telegram_handler.TelegramHandler + chat_id: 211945135 + alias: "Mail order bot" # -- Логгеры -- loggers: '': - handlers: [console, file] + handlers: [console, file, telegram] level: INFO propagate: False __main__: - handlers: [console, file] + handlers: [console, file, telegram] level: INFO propagate: False config_manager: handlers: [console, file] - level: DEBUG \ No newline at end of file + level: DEBUG + \ No newline at end of file