diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html
index bab8e388f5..aa991348b8 100644
--- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html
+++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html
@@ -37,7 +37,9 @@
{{build.warnings.count}} warning{{build.warnings.count|pluralize}}
{% endif %}
Build time: {{ build.timespent_seconds|sectohms }}
- Download build log
+ {% if build.cooker_log_path %}
+ Download build log
+ {% endif %}
{%endif%}