Skip to content
Snippets Groups Projects
  1. Jun 12, 2023
  2. Dec 30, 2022
  3. May 29, 2022
  4. Mar 16, 2022
  5. Feb 06, 2022
    • Thijs Kinkhorst's avatar
      Change logging date formatting string from strftime() to date(). · dfbb7e65
      Thijs Kinkhorst authored
      strftime is deprecated and will be removed in PHP 9. SSP 2.0 is our
      chance to change this format as it's exposed to installers of SSP.
      
      The approch is to keep it simple and just change the format to PHP's
      built in date() function which remains supported. Also we do not try
      to localize the logging date/timestamps anymore. This matches the syslog
      approach that this format tried to mimic. We are using the day without
      leading zeroes now also to be a bit closer to how syslog does it.
      dfbb7e65
  6. Aug 27, 2021
  7. Mar 12, 2021
  8. Jan 22, 2021
  9. Sep 15, 2020
  10. Sep 10, 2020
  11. Jun 13, 2020
  12. Apr 30, 2020
  13. Feb 15, 2020
  14. Feb 14, 2020
  15. Dec 24, 2019
  16. Oct 01, 2019
  17. Sep 24, 2019
  18. Sep 16, 2019
    • Jaime Pérez Crespo's avatar
      Remove superfluous log message · 512b9cf3
      Jaime Pérez Crespo authored
      If we reach this point, we're likely already logging the error somewhere else (i.e. the session handler in use), so there's no point on logging the exception's message again.
      512b9cf3
  19. Aug 31, 2019
  20. Aug 29, 2019
    • Jaime Pérez Crespo's avatar
      Make sure we respect log message order · 014992c8
      Jaime Pérez Crespo authored
      When we are logging something and the logger hasn't been initialized, the messages are deferred and flushed by a shutdown handler. However, when we initialize a session, we set the track ID in the logger, effectively initializing it with everything we need. When we log something and then load the session (or create it), any subsequent logs will be dumped, but the deferred logs will wait until shutdown, changing the order in which they were emitted.
      
      This patch makes sure we flush the deferred logs as soon as we have a track ID (can either be set manually or by, most typically, loading a session). That way, we get those logs out as soon as we can, and subsequent logs entries will be dumped afterwards, keeping their relative order.
      
      This closes #1107
      014992c8
  21. Aug 28, 2019
  22. Jun 06, 2019
  23. Feb 03, 2019
  24. Jan 10, 2019
  25. Oct 17, 2018
  26. May 31, 2018
  27. May 22, 2018
  28. Apr 13, 2018
  29. Dec 08, 2017
  30. Oct 25, 2017
  31. Oct 19, 2017
Loading