On 26 April 2018 at 10:26, Conrad Djedjebi conrad.djedjebi@linaro.org wrote:
Good morning everyone,
Changing to the lava-users mailing list.
I am looking for some advice with the LAVA Scheduler App. I noticed the file /etc/lava-server/settings.conf is not allowing users to activate debug messages from the LAVA Scheduler App.
settings.conf is for Django settings (which includes support for DEBUG = True) and that can be enabled on any development instance.
There is also the django-toolbar which can be used for UI work.
https://staging.validation.linaro.org/static/docs/v2/debian.html#debugging-d...
Is there a way to activate debug messages in LAVA Scheduler App? If it is the case, which file shall I edit?
In the file /lava_scheduler_app/models.py for instance, some loggers are being called. However, their outputs are not appearing during the job process.
logging goes into the lava-master logs typically.
Django exceptions go into the django.log
There is more on this in the documentation.
https://staging.validation.linaro.org/static/docs/v2/development.html#develo...
https://staging.validation.linaro.org/static/docs/v2/pipeline-debug.html#deb...
Hi Neil,
Thank you for your answer, I am checking out those resources.
regards,
On 26 April 2018 at 10:42, Neil Williams neil.williams@linaro.org wrote:
On 26 April 2018 at 10:26, Conrad Djedjebi conrad.djedjebi@linaro.org wrote:
Good morning everyone,
Changing to the lava-users mailing list.
I am looking for some advice with the LAVA Scheduler App. I noticed the file /etc/lava-server/settings.conf is not allowing users to activate debug messages from the LAVA Scheduler App.
settings.conf is for Django settings (which includes support for DEBUG = True) and that can be enabled on any development instance.
There is also the django-toolbar which can be used for UI work.
https://staging.validation.linaro.org/static/docs/v2/ debian.html#debugging-django-issues
Is there a way to activate debug messages in LAVA Scheduler App? If it is the case, which file shall I edit?
In the file /lava_scheduler_app/models.py for instance, some loggers are being called. However, their outputs are not appearing during the job process.
logging goes into the lava-master logs typically.
Django exceptions go into the django.log
There is more on this in the documentation.
https://staging.validation.linaro.org/static/docs/v2/ development.html#developer-access-to-django-shell
https://staging.validation.linaro.org/static/docs/v2/ pipeline-debug.html#debugging-a-lava-instance
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/