mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
minor fixes
This commit is contained in:
parent
6acc2068de
commit
756f0bd89a
@ -31,5 +31,5 @@ REDIS_PATH=redis://redis
|
||||
# Set log level, can be CRITICAL, ERROR, WARNING, INFO, DEBUG. By default it set to WARNING.
|
||||
LOGLEVEL=
|
||||
|
||||
# Uncomment this to switch bot language to Chinese
|
||||
# O_LANG=zh
|
||||
# Uncomment this to switch bot language to English
|
||||
# O_LANG=en
|
||||
|
@ -105,7 +105,7 @@ class ServerSettings(AbstractSettings):
|
||||
return int(timedelta(days=1).total_seconds() * 1000.0)
|
||||
|
||||
|
||||
logging.basicConfig(level=os.environ.get("LOGLEVEL", "WARNING"),
|
||||
logging.basicConfig(level=os.environ.get("LOGLEVEL") or "WARNING",
|
||||
format='%(asctime)s %(levelname)-8s %(message)s')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user