diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2016-07-30 23:05:44 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2016-07-30 23:05:44 +0300 |
| commit | 006b055d259e70ae023dd0bf86897c910e2d70fd (patch) | |
| tree | 3a935e2400d4759a5e710b21e212a6945dcc73c6 /project | |
| parent | 6d287427879950e08f434fd04ccf15e9076b425b (diff) | |
Add Telegram message content info to logging
Diffstat (limited to 'project')
| -rw-r--r-- | project/botmanager.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/project/botmanager.py b/project/botmanager.py index d4db63c..4984a97 100644 --- a/project/botmanager.py +++ b/project/botmanager.py @@ -104,6 +104,7 @@ class BotManager(object): "timestamp": date } ShoutboxCommunicator.send(message) + logging.info("Message info: user: {}, message: '{}'".format(user_name, text)) def handle(self, msg): """Start parsing the incoming message if it is a text message""" |
