Add page context to error logging in rendering #2570

Closed
bep opened this Issue Oct 13, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@bep
Member

bep commented Oct 13, 2016

A follow up to the new DocumentName in RenderingContext, see 766c82a

@bep bep added this to the v0.18 milestone Oct 13, 2016

@choeppler

This comment has been minimized.

Show comment
Hide comment
@choeppler

choeppler Oct 16, 2016

Contributor

I've had a look at the rst2html rendering stuff and will put together a PR w/ improved error logging for that case...

Contributor

choeppler commented Oct 16, 2016

I've had a look at the rst2html rendering stuff and will put together a PR w/ improved error logging for that case...

choeppler added a commit to choeppler/hugo that referenced this issue Oct 18, 2016

Add page context to error logging in rendering
Add logging of the errors/warnings which rst2html outputs to its stderr
stream when rendering rst documents. Note that rst2html outputs warnings
and errors to stderr but it also adds them to the generated html. ->
hugo logs everything in stderr as error.

Add / complete adding page context (path to file being rendered) to
anything logged by getRstContent and getAsciidocContent.

See #2570

bep added a commit that referenced this issue Oct 19, 2016

Add page context to error logging in rendering
Add logging of the errors/warnings which rst2html outputs to its stderr
stream when rendering rst documents. Note that rst2html outputs warnings
and errors to stderr but it also adds them to the generated html. ->
hugo logs everything in stderr as error.

Add / complete adding page context (path to file being rendered) to
anything logged by getRstContent and getAsciidocContent.

See #2570

@bep bep closed this Nov 29, 2016

tychoish added a commit to tychoish/hugo that referenced this issue Aug 13, 2017

Add page context to error logging in rendering
Add logging of the errors/warnings which rst2html outputs to its stderr
stream when rendering rst documents. Note that rst2html outputs warnings
and errors to stderr but it also adds them to the generated html. ->
hugo logs everything in stderr as error.

Add / complete adding page context (path to file being rendered) to
anything logged by getRstContent and getAsciidocContent.

See #2570
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment