mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
Update logger level
This commit is contained in:
parent
147d3126b0
commit
d8df89eacd
@ -11,6 +11,8 @@ INDEX_MESSAGE="Welcome to i-c-a.su client for telegram. \nIf you have questions
|
||||
# TELEGRAM CLIENT
|
||||
TELEGRAM_API_ID=
|
||||
TELEGRAM_API_HASH=
|
||||
# ERROR = 1; WARNING = 2; const NOTICE = 3; VERBOSE = 4; ULTRA_VERBOSE = 5;
|
||||
LOGGER_LEVEL=3
|
||||
|
||||
# TELEGRAM SOCKS5 PROXY (optional)
|
||||
TELEGRAM_PROXY_ADDRESS=
|
||||
|
@ -18,7 +18,7 @@ return [
|
||||
],
|
||||
'logger' => [ // Logger settings
|
||||
'logger' => 3, // 0 - Logs disabled, 3 - echo logs.
|
||||
'logger_level' => \danog\MadelineProto\Logger::FATAL_ERROR, // Logging level, available logging levels are: ULTRA_VERBOSE - 0, VERBOSE - 1 , NOTICE - 2, WARNING - 3, ERROR - 4, FATAL_ERROR - 5.
|
||||
'logger_level' => (int) getenv('LOGGER_LEVEL'), // Logging level, available logging levels are: ULTRA_VERBOSE - 0, VERBOSE - 1 , NOTICE - 2, WARNING - 3, ERROR - 4, FATAL_ERROR - 5.
|
||||
],
|
||||
'updates' => [
|
||||
'handle_updates' => false, // Should I handle updates?
|
||||
|
Loading…
Reference in New Issue
Block a user