Skip to content

Trying to Log with ERROR level and this bug: #1

Description

@ohld
Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/handlers.py", line 1478, in _monitor
    self.handle(record)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/handlers.py", line 1461, in handle
    handler.handle(record)
  File "/usr/local/lib/python3.7/site-packages/python_telegram_logger/handlers.py", line 109, in handle
    self.emit(record)
  File "/usr/local/lib/python3.7/site-packages/python_telegram_logger/handlers.py", line 116, in emit
    mode=self.formatter.MODE,
AttributeError: 'Formatter' object has no attribute 'MODE'```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions