Apology for more stupid questions. I imported and it loaded, but still failed:
sage: from sage.misc.log import log_html
sage: log_html
<class 'sage.misc.log.log_html'>
sage: log_html()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-30-a8d814def110> in <module>
----> 1 log_html()
/usr/lib/python3.8/site-packages/sage/misc/log.py in __init__(self, dir, debug, viewer)
97 self._dir = dir
98 self._filename = os.path.join(dir, self._filename())
---> 99 self._output = __IPYTHON__.output_hist
100 self._input = __IPYTHON__.input_hist_raw
101 self._text = ''
AttributeError: 'bool' object has no attribute 'output_hist'
sage: