Skip to content
Snippets Groups Projects
  1. Jun 29, 2017
  2. Apr 23, 2017
  3. Apr 06, 2017
  4. Feb 07, 2017
  5. Jan 10, 2017
  6. Jan 09, 2017
  7. Jan 05, 2017
  8. Oct 07, 2016
    • Lukas Reschke's avatar
      Default to empty string · ab435345
      Lukas Reschke authored
      Otherwise `null` is returned which leads to a ton of similar error messages if the log condition setting is enabled.:
      
      ```
      {"reqId":"3wVBarnDfOV3qkI1bVCU","remoteAddr":"89.98.78.41","app":"PHP","message":"hash_equals(): Expected user_string to be a string, null given at \/var\/www\/html\/lib\/private\/Log.php#275","level":3,"time":"2016-10-07T14:22:15+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"icewind"}
      ```
      ab435345
  9. Sep 26, 2016
  10. Aug 22, 2016
  11. Jul 22, 2016
    • Thomas Pulzer's avatar
      b058639a
    • Thomas Pulzer's avatar
      Changed logtype to file instead of owncloud. · ba3f4f11
      Thomas Pulzer authored
      - Updated the config sample to point to log_type='file'
      - Renamed the Class for logfile logging to File in namespace 'OC\Log\'.
        Changed the occurrences of 'OC\Log\Owncloud' to 'OC\Log\File'.
      - Renamed the Class for log:file command to File in namespace 'OC\Core\Command\Log\File'.
        Changed registration of the command to use 'OC\Core\Command\Log\File'.
      - Changed default Syslog tag to Nextcloud
      - Retained backwards compatibility for configs with 'logtype' => 'owncloud'
      
      - Adjusted tests for the new file log.
      
      Closes #490.
      ba3f4f11
  12. Jul 21, 2016
  13. Jul 08, 2016
  14. Jun 08, 2016
  15. May 26, 2016
  16. May 03, 2016
  17. May 02, 2016
  18. Apr 29, 2016
    • Roeland Jago Douma's avatar
      Move more of \OC to PSR-4 · f5e0d6ae
      Roeland Jago Douma authored
      * \OC\DateTimeFormatter
      * \OC\DateTimeZone
      * \OC\ForbiddenException
      * \OC\HTTPHelper
      * \OC\HintException
      * \OC\LargeFileHelper
      * \OC\Log
      * \OC\NaturalSort
      * \OC\NavigationManager
      * \OC\NeedsUpdateException
      * \OC\NotSquareException
      f5e0d6ae
  19. Apr 20, 2016
  20. Apr 01, 2016
  21. Jan 15, 2016
  22. Jan 13, 2016
  23. Jan 12, 2016
  24. Dec 11, 2015
  25. Oct 05, 2015
  26. Sep 24, 2015
  27. Jul 03, 2015
  28. Jun 25, 2015
  29. May 08, 2015
    • Morris Jobke's avatar
      Conditional logging · e79c255c
      Morris Jobke authored
       * Log condition for log level increase based on conditions. Once one of these
         conditions is met, the required log level is set to debug. This allows to
         debug specific requests, users or apps
      
       * Supported conditions (setting `log_condition` in `config.php`):
          - `shared_secret`: if a request parameter with the name `log_secret` is set to
                      this value the condition is met
          - `users`:  if the current request is done by one of the specified users,
                      this condition is met
          - `apps`:   if the log message is invoked by one of the specified apps,
                      this condition is met
       * fix unit test and add app log condition test
      e79c255c
    • Morris Jobke's avatar
      Move log level check to logger parent class · 892b5cee
      Morris Jobke authored
      * remove duplicate code from child classes
      892b5cee
  30. Mar 26, 2015
  31. Feb 26, 2015
  32. Feb 23, 2015
  33. Dec 08, 2014
  34. Jul 15, 2014
  35. May 12, 2014
Loading