- Aug 10, 2016
-
-
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.
-
- Jul 02, 2016
-
-
Jaime Pérez authored
-
- Apr 13, 2016
-
-
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.
-
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.
-
- Mar 09, 2016
-
-
Jaime Perez Crespo authored
-
- Aug 06, 2015
-
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
- Jan 15, 2015
-
-
Jaime Perez authored
-
- Jul 09, 2014
-
-
Thijs Kinkhorst authored
-
- Aug 06, 2010
-
-
Olav Morken authored
Since this function is only used in SimpleSAML_Error_Exception and a subclass, move it here. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2487 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2484 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2483 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 13, 2009
-
-
Olav Morken authored
This patch adds several functions for writing the exception to the logs with a full backtrace, including the causes for the exception. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1566 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Including the cause of the exception will make it simpler to trace exceptions through the program. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1565 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Make the SimpleSAML_Error_Exception class suitable for serialization by making it _not_ serialize the trace variable in the Exception class. Serializing the trace-variable is problematic because it contains the parameters to all function calls. This can make the exception very big. This can also make the exception unserializable, if one of the parameters is unserializable. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1563 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 06, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1551 44740490-163a-0410-bde0-09ae8108e29a
-