Useful for debugging to remind you if you're hitting a cache or not
Signed-off-by: Michael Wood <[email protected]>
---
bitbake/lib/toaster/toastergui/widgets.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bitbake/lib/toaster/toastergui/widgets.py
b/bitbake/lib/toaster/toastergui/widgets.py
index eb49692..7f96370 100644
--- a/bitbake/lib/toaster/toastergui/widgets.py
+++ b/bitbake/lib/toaster/toastergui/widgets.py
@@ -38,6 +38,9 @@ import collections
import operator
import re
+import logging
+logger = logging.getLogger("toaster")
+
from toastergui.views import objtojson
class ToasterTable(TemplateView):
@@ -264,6 +267,7 @@ class ToasterTable(TemplateView):
data = cache.get(cache_name)
if data:
+ logger.debug("Got cache data for table '%s'" % self.title)
return data
self.setup_columns(**kwargs)
--
2.1.4
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster