UCL-INGI/INGInious

Can't see frontend logging entries in log file

RazNitzanCyber opened this issue · 0 comments

Describe the bug
When webapp starts, I cannot see the frontend logging entries, such as "inginious.frontend - INFO - Starting a simple arch (backend, docker-agent and mcq-agent) locally", in the log file.

INGInious installation details

  • Version: v0.8.7

Looking at the code, it seems that the cause of this issue is that in inginious-wepapp.py, the call to init_logging is made after the call to get_app (which relies on an initiated logger). I have tried moving the call to init_logging before the call to get_app, and it seems to have solved the issue.