Remove unnecessary <pre></pre> from log function