Skip to content
Snippets Groups Projects
  1. Mar 16, 2022
  2. Sep 05, 2021
  3. Mar 14, 2021
    • Tim van Dijen's avatar
      Migrate utility-classes to non-static (part 2) (#1441) · 0b861789
      Tim van Dijen authored
      * Migrate email utils to non-static
      
      * Migrate http utils to non-static
      
      * Migrate net utils to non-static
      
      * Migrate random utils to non-static
      
      * Migrate system utils to non-static
      
      * Migrate time utils to non-static
      
      * Migrate xml utils to non-static
      
      * Upgrade notes
      
      * Update test-framework
      
      * Fix tests
      0b861789
  4. Mar 09, 2021
  5. Jan 22, 2021
  6. Sep 15, 2020
  7. Sep 10, 2020
  8. Feb 15, 2020
  9. Dec 24, 2019
  10. Jun 06, 2019
  11. Feb 03, 2019
  12. Oct 17, 2018
  13. May 31, 2018
  14. Apr 01, 2016
  15. Nov 06, 2015
  16. Apr 20, 2015
  17. Apr 15, 2015
  18. Jun 17, 2014
  19. Jan 13, 2012
  20. Aug 14, 2009
  21. Sep 26, 2008
  22. Jun 18, 2008
  23. Jun 06, 2008
  24. Mar 05, 2008
  25. Feb 19, 2008
  26. Feb 14, 2008
  27. 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
Loading