Skip to content
Snippets Groups Projects
  1. Feb 21, 2020
  2. Feb 15, 2020
  3. Feb 14, 2020
  4. Dec 24, 2019
  5. Oct 01, 2019
  6. Jun 06, 2019
  7. Feb 03, 2019
  8. Oct 17, 2018
  9. Aug 22, 2018
  10. Aug 13, 2018
  11. Jun 01, 2018
  12. May 31, 2018
  13. Feb 27, 2018
  14. Oct 19, 2017
  15. Aug 10, 2016
    • Jaime Pérez's avatar
      Make the 'debug' configuration option more fine-grained. · 6c3d49f9
      Jaime Pérez authored
      Some things, like logging of SAML messages or backtraces, are controlled with the 'debug' configuration option. However, it might be possible that we don't want one while we want the other, but that's impossible with just one option.
      
      This commit allows us to configure debugging options independently, but groupping all of them together. This is particularly useful if we want to log backtraces to debug errors, for example, but we don't want to log SAML messages to keep the privacy of the users. This also allows us to get rid of the 'debug.validatexml' configuration option, and group it with other debug options.
      
      This changes are backwards-compatible. Old and new configurations will work at the same time.
      6c3d49f9
    • Jaime Pérez's avatar
      Log backtraces with the same log level as the error messages, whatever that is. · 0858c10c
      Jaime Pérez authored
      It's not very useful to log backtraces always as debug, since that implies getting all the log messages, while backtraces would still help debug a particular error.
      0858c10c
  16. Jul 02, 2016
  17. Apr 13, 2016
    • Jaime Perez Crespo's avatar
      Fix build. It was broken due to a chicken & egg problem, with... · d25d83ad
      Jaime Perez Crespo authored
      Fix build. It was broken due to a chicken & egg problem, with SimpleSAML_Configuration raising creating a new SimpleSAML_Error_Exception that tries to load the configuration.
      d25d83ad
    • Jaime Perez Crespo's avatar
      Several improvements to SimpleSAML_Error_Exception: · 1c52db21
      Jaime Perez Crespo authored
      - Exception messages and backtraces are now decoupled, so that they can be logged independently.
      - Backtraces are now logged with "debug" log level, and only in case the "debug" configuration option is set.
      - A new log() method allows the exception itself to decide which log level to use. This can be used by exceptions overriding this method to change the log level accordingly.
      - Add a new parameter to the format() method so that the formatted message is anonymized, safe for display in the browser.
      
      Additionally, this resolves #281.
      1c52db21
  18. Mar 09, 2016
  19. Aug 06, 2015
  20. Jan 15, 2015
  21. Jul 09, 2014
  22. Aug 06, 2010
  23. Jul 13, 2009
  24. Jul 06, 2009
Loading