1. 07 Jun, 2018 1 commit
  2. 13 Apr, 2015 2 commits
  3. 10 Apr, 2015 1 commit
  4. 07 Apr, 2015 2 commits
  5. 02 Apr, 2015 1 commit
  6. 19 Mar, 2015 1 commit
  7. 13 Feb, 2015 1 commit
  8. 04 Feb, 2015 1 commit
  9. 29 Jan, 2015 1 commit
  10. 27 Jan, 2015 1 commit
  11. 26 Jan, 2015 1 commit
  12. 21 Jan, 2015 1 commit
  13. 20 Jan, 2015 1 commit
  14. 19 Jan, 2015 1 commit
  15. 15 Jan, 2015 1 commit
  16. 13 Jan, 2015 1 commit
  17. 05 Jan, 2015 1 commit
  18. 30 Dec, 2014 1 commit
  19. 29 Dec, 2014 1 commit
  20. 22 Dec, 2014 1 commit
  21. 18 Dec, 2014 1 commit
  22. 17 Dec, 2014 4 commits
  23. 16 Dec, 2014 1 commit
  24. 08 Dec, 2014 2 commits
  25. 01 Dec, 2014 1 commit
  26. 28 Nov, 2014 1 commit
    • Ard Schrijvers's avatar
      ARCHE-398 apply patch from Mathijs and his comment: 1. the default logger… · f5b185dc
      Ard Schrijvers authored
      ARCHE-398 apply patch from Mathijs and his comment: 1. the default logger library used by Freemarker is changed from 'auto' to 'none'. This disables all logging output from the Freemarker servlet itself. Another library can be configured, if needed, via the new init param 'loggerLibrary' of the HstFreemarkerServlet.
                                                          2. the default value for the 'template_exception_handler' init param of the HstFreemarkerServlet is changed from 'debug' (the Freemarker default) to 'rethrow'. This lets the Freemarker servlet rethrow any encountered errors. The HstFreemarkerServlet then catches those errors, and only prints the Freemarker error message (and not the whole stack trace). This leads to much cleaner error message in the terminal during local development. Only when the log level of the HstFreemarkerServlet is set to 'debug' the stack traces are logged too. Note that Freemarker sometimes wraps the actual exception in a ServletException [1], so the HstFreemarkerServlet unwraps these before logging them.
                                                          3. a new logger 'warnings' has been added to the log4j-dev.xml in the archetype. This logger logs Freemarker errors to stderr with a clean log pattern (similar to the new 'messages' logger) to reduce the visual noise. Because this logger uses stderr and includes the log level 'WARN' in the output, cargo will also start the logged line with [WARNING] instead of [INFO]. This makes it much easier for developers to actually spot these warnings in their terminal.
                                                          Note that these patches make one functional change. Before, the default template_exception_handler value was 'ignore', which made Freemarker continue rendering after an error had been encountered. The new default value 'rethrow' stops rendering as soon as an error has been encountered. IMHO such 'fail-fast' behavior is better, but it is a functional change.
      f5b185dc
  27. 26 Nov, 2014 1 commit
  28. 27 Oct, 2014 1 commit
  29. 15 Oct, 2014 1 commit
  30. 09 Oct, 2014 2 commits
  31. 02 Oct, 2014 1 commit
  32. 25 Sep, 2014 1 commit
  33. 24 Sep, 2014 1 commit