Remove double log messages in debug mode #316

Closed
Delapouite opened this Issue Oct 10, 2012 · 1 comment

Projects

None yet

2 participants

@Delapouite
Member

Hi

The debug logs could be much lighter and easier to scan. At the moment same informations are displayed twice.

Here's an example :

debug: Loaded the file: post.html.jade
→ [2012-10-10 11:49:36.710] [/usr/local/lib/node_modules/docpad/out/lib/docpad.js:1144] [DocPad.log]
debug: Loaded file: post.html.jade
→ [2012-10-10 11:49:36.712] [/usr/local/lib/node_modules/docpad/out/lib/docpad.js:1144] [DocPad.log]

The first line, which contains the word "the", is triggered directly by the file model.
The second message comes from the recently introduced locale file.

On a side note, if you need help for the French translation, I'll be glad to help as soon as the English version is considered ready.

@balupton
Member

Fixed in v6.46.3

@balupton balupton closed this Jul 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment