summaryrefslogtreecommitdiffstats
path: root/lib/private/Log.php
Commit message (Collapse)AuthorAgeFilesLines
* Improve exception handlingMorris Jobke2017-09-261-0/+3
| | | | | | | | | | If there is an exception in the template handling then a white page is shown. This improves the handling of this and shows text only about the internal error. To test this just setup redis as cache and then disable the php-redis module. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Don't log LDAP password when server is not availableJoas Schilling2017-09-061-3/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't log passwords on dav exceptionsJoas Schilling2017-06-291-5/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add method to $methodsWithSensitiveParametersMorris Jobke2017-04-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Don't log the password on confirmPassword when LDAP throws an exceptionJoas Schilling2017-02-071-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Better fallback for unknown log typesJoas Schilling2017-01-101-9/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add testsJoas Schilling2017-01-091-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Handle log_type "nextcloud" more gracefullyJoas Schilling2017-01-051-5/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Default to empty stringLukas Reschke2016-10-071-1/+1
| | | | | | | | 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"} ```
* Change the minimum log level to fatalJuan Pablo Villafáñez2016-09-261-1/+1
| | | | | | Downstreaming of https://github.com/owncloud/core/pull/26213 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* hide parameters of tryLogin when loggingArthur Schiwon2016-08-221-0/+3
|
* Changed code style and made use of '===' comparison.Thomas Pulzer2016-07-221-1/+4
|
* Changed logtype to file instead of owncloud.Thomas Pulzer2016-07-221-1/+3
| | | | | | | | | | | | | | - 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.
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-3/+4
|
* Sanitize more config options and stack tracesMorris Jobke2016-07-081-0/+1
|
* Do not log token or challenge with exception stacktrace (#25026)Joas Schilling2016-06-081-1/+27
| | | | | | * Make the filtering better readable * Add some more methods to the sensitive list
* Update license headersLukas Reschke2016-05-261-1/+3
|
* Move OC_Log_xx to \OC\Log namespaceRoeland Jago Douma2016-05-031-1/+1
|
* Remove the password from the validateUserPass() method as wellJoas Schilling2016-05-021-1/+1
|
* Move more of \OC to PSR-4Roeland Jago Douma2016-04-291-0/+292
* \OC\DateTimeFormatter * \OC\DateTimeZone * \OC\ForbiddenException * \OC\HTTPHelper * \OC\HintException * \OC\LargeFileHelper * \OC\Log * \OC\NaturalSort * \OC\NavigationManager * \OC\NeedsUpdateException * \OC\NotSquareException