]> git.parisson.com Git - teleforma.git/commitdiff
Merge branch 'feature/thread-notif' of git.parisson.com:git/teleforma into feature...
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 9 Feb 2026 22:21:22 +0000 (23:21 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 9 Feb 2026 22:21:22 +0000 (23:21 +0100)
1  2 
app/settings.py
teleforma/models/core.py

diff --cc app/settings.py
index be381fc850eca5d5bc3d9b25b7dc0aef218f82d4,be381fc850eca5d5bc3d9b25b7dc0aef218f82d4..0bbdd77724265ac129534066342d16ff7d401545
@@@ -266,7 -266,7 +266,7 @@@ LOGGING = 
      },
      'handlers': {
          'file': {
--            'level': 'ERROR',
++            'level': 'INFO',
              'class': 'logging.FileHandler',
              'filename': "/var/log/app/app.log",
              'formatter': 'simple',
index 96d54e632e8aaf7ba3d165bb546d0e5a18871aa8,0e1c68af8986407db3ec319147b1cdd0e3010e0f..dac4d362dac3066030f4dd7a5788f912f69a8c2d
@@@ -686,8 -688,8 +688,8 @@@ def _notify_live_conference_thread(conf
      try:
          conference = Conference.objects.get(id=conference_id)
          if conference.streaming and not conference.notified_live:
-             print("notify conference on secondary thread", conference.id)
+             logger.info("notify conference on secondary thread " + conference.id)
 -            conference.notify_sync()
 +            conference.notify_live_sync()
              conference.notified_live = True
              conference.save()
      except Conference.DoesNotExist: