Skip to content
Snippets Groups Projects
  1. Mar 31, 2016
  2. Feb 26, 2016
  3. Nov 06, 2015
  4. Oct 27, 2015
    • Jaime Perez Crespo's avatar
      Prevent the SimpleSAML_Logger class from creating loops while trying to get... · 3466f176
      Jaime Perez Crespo authored
      Prevent the SimpleSAML_Logger class from creating loops while trying to get the track ID from the session. It must now be set manually by calling SimpleSAML_Logger::setTrackID(). Also allow SimpleSAML_Memcache to differentiate between a key not found in memcache and a request to memcache failed. If all servers are down, an exception is thrown and the user informed about the internal error. This hopefully resolves #264.
      3466f176
  5. Aug 05, 2015
  6. Jul 31, 2015
  7. Jul 08, 2014
  8. Jun 17, 2014
  9. Jan 23, 2013
  10. Nov 17, 2011
  11. Jul 22, 2011
  12. Nov 03, 2010
  13. Aug 14, 2009
  14. Aug 07, 2009
  15. Mar 01, 2009
  16. Nov 04, 2008
  17. Sep 26, 2008
  18. Jun 06, 2008
  19. Jun 03, 2008
  20. May 15, 2008
  21. Mar 05, 2008
  22. Feb 15, 2008
  23. Feb 14, 2008
  24. Feb 13, 2008
  25. Feb 07, 2008
    • Lasse Birnbaum Jensen's avatar
      Suggestion for new logger. · 972c5df4
      Lasse Birnbaum Jensen authored
      TrackID is always prepended to the logstring
      
      New logging options in config-template.php
      
      Possible to configure logging to use syslog or file
      
      Please test the new logging function. 
      
      Logging handler has only been added. The old logging function is still uses in the code. 
      
      After test all logging calls should be rewritten to the new format.
      
      Usage:
      
      Required:
      
      require_once('SimpleSAML/Logger.php');
      
      Logging:
      
      Logger::emergency("text to log");
      Logger::critical("text to log");
      Logger::alert("text to log");
      Logger::error("text to log");
      Logger::warning("text to log");
      Logger::notice("text to log");
      Logger::info("text to log");
      Logger::debug("text to log");
      Logger::emergency("text to log");
      
      Logger::info(array("text","to","log"));
      
      Statistics:
      Stats are prepended with STAT in the logfile for easier analysis.
      
      Logger::stats("SSO");
      
      Example (syslog): 
      Feb  7 21:02:33 server_name simpleSAMLphp[pid]: [trackid] loglevel text to log
      
      git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@268 44740490-163a-0410-bde0-09ae8108e29a
      972c5df4
  26. Feb 04, 2008
  27. Jan 31, 2008
  28. Jan 30, 2008
  29. Jan 17, 2008
  30. Oct 30, 2007
Loading