serve build log from database if present