]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: improve logging facilities for toaster
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Thu, 5 Feb 2015 13:18:06 +0000 (13:18 +0000)
committerAlexandru DAMIAN <alexandru.damian@intel.com>
Mon, 9 Feb 2015 17:54:34 +0000 (17:54 +0000)
commit8a8248f7b7e30469f592e2f8adbf6ce21e8685c5
treec3cac8a17fe73dd53e6b41ad3ae05e0126d3270c
parentc5ddd9d88910857a1b745b1c237df0390dd56835
toaster: improve logging facilities for toaster

This patch improves the logging facilities for toaster in order
to help diagnose bugs that happen on user machines.

The logs are stored now under "/tmp/toaster_$$" where $$ is a
PID-based unique identifier. On shutdown, toaster will automatically
erase all logs unless errors are listed in the log file.

On error, Toaster provides suggestions on what to do.

This patch includes a minor fix found as a result of logging
improvements.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
bin/toaster
lib/bb/ui/buildinfohelper.py
lib/toaster/bldcontrol/management/commands/runbuilds.py
lib/toaster/toastergui/views.py
lib/toaster/toastermain/settings.py
lib/toaster/toastermain/urls.py