Hello,
We are trying to set the LMS debug level to warning or greater. Found an older forum post but it doesn’t seem to work for us, not sure if this is deprecated or not. Has anyone tried to do this recently?
Cheers!
Hello,
We are trying to set the LMS debug level to warning or greater. Found an older forum post but it doesn’t seem to work for us, not sure if this is deprecated or not. Has anyone tried to do this recently?
Cheers!
Hi @tech_mil could you specify what version of Tutor you’re running, and any other detail that might be relevant? The post I see says
these env.json files are going to change a lot in the next Open edX release (Juniper)
and we’re on Teak, so I wouldn’t be too surprised if these instructions no longer worked ![]()
I tried playing around with configs but wasn’t able to effect any real observable change. Granted I’m not particularly good at it, so I could have just been an idiot…
I tried tweaking settings:
here: edx-platform/openedx/core/lib/logsettings.py at master · openedx/edx-platform · GitHub
and here: tutor/tutor/templates/apps/openedx/settings/partials/common_all.py at release · overhangio/tutor · GitHub
Hello @Sarina, thank you for the response. My apologies for missing that detail! We are using tutor v19.0.2
Hi @joel.edwards , thanks for the response and for trying it out! We have a look around these configs and see if we can spot anything else.
I’m going to tag @tutor-maintainers to see if they have an idea about how to do this in Tutor v19
You need to configure both the logger and the handler to DEBUG level. Also, keep in mind that the “local” handler sends the log to a log file in "$(tutor config printroot)/data/lms/logs/all.log" or /openedx/data/logs/all.log inside the container. The handler for stdout is console
Adding this settings to your production.py file should work:
LOGGING["loggers"][""]["level"] = "DEBUG"
LOGGING["handlers"]["console"]["level"] = "DEBUG"
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.