This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package me.marensovich.kworkparserbot.config; | |
| import me.marensovich.kworkparserbot.bot.Bot; | |
| import org.springframework.beans.factory.annotation.Value; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.telegram.telegrambots.meta.TelegramBotsApi; | |
| import org.telegram.telegrambots.meta.exceptions.TelegramApiException; | |
| import org.telegram.telegrambots.updatesreceivers.DefaultBotSession; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <configuration> | |
| <property name="LOGS" value="logs"/> | |
| <!-- Создаём уникальный ключ один раз при старте --> | |
| <timestamp key="byTime" datePattern="yyyy-MM-dd_HH-mm-ss"/> | |
| <!-- Консоль --> | |
| <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | |
| <encoder> |