Hi,
I have some comments below:
toaster: get rid of _createdirpath function
os.mkdirs is missing the mode specification; I am not sure it matters, though.
toaster: Wait for toaster gui to come
I am not sure which logger should to be used here; the reason for changing the logger in the first place (which was originally defined as "BitBake" was that the "BitBake" logger settings are modified in bitbake/lib/bb/__init__.py, and it is targeted at the inner Bitbake core; some updates there changed the original output, with output disappearing from the console being an obvious effect.
Messing with "BitBake" logger settings with this may have side effects throught the bitbake code, so I refrained from touching that
I considered using the "toaster" logger that is defined in bitbake/lib/toaster/toastermain/settings.py and outputs strictly to console; I felt likewise reluctant to use this logger because changing it to output to a file would be affect the way the django application is logging.
ToasterLogger is not defined anywhere, and this is why I used it here. I am not sure I understand the root cause of why the code breaks when using "ToasterLogger" instead of "BitBake"; can you please assess the root cause and get a solution to have messages properly logged to the toaster_ui.log file using a logger that's not BitBake ?
Otherwise, all fine.
Thank you,
Alex