summaryrefslogtreecommitdiffstats
path: root/lib/private/Log
Commit message (Collapse)AuthorAgeFilesLines
* Ensure log message is UTF-8 encodedLukas Reschke2017-08-171-1/+12
| | | | | | | | | | | PHP's json_encode only accept proper UTF-8 strings, loop over all elements to ensure that they are properly UTF-8 compliant or convert them manually. Without this somebody passing an invalid User Agent may make json_encode return false which will get logged as empty newline. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use constantsJoas Schilling2017-04-131-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Reorder the entries of the log for easier readingJuan Pablo Villafáñez2017-04-121-5/+5
|
* Merge pull request #3310 from duritong/patch-1Morris Jobke2017-04-041-1/+3
|\ | | | | only chmod logfile if necessary
| * only chmod logfile if necessaryduritong2017-01-291-1/+3
| | | | | | otherwise e.g. on SELinux this will log an error, so we better avoid it if not necessary.
* | author updateRoger Szabo2017-03-101-0/+1
| | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* | improvement of userAgent variable assigmentRoger Szabo2017-03-101-1/+1
| | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* | log user agent globally insteadRoger Szabo2017-03-101-0/+2
| | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* | Revert unintentional log timestamp format changeJoas Schilling2017-01-301-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix default value for logdateformat - fixes #3107Morris Jobke2017-01-191-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Get the logfile location while running the logrotate cron job instead of ↵Robin Appelman2017-01-061-1/+3
| | | | | | when registering the job Signed-off-by: Robin Appelman <robin@icewind.nl>
* log version number in each log lineMorris Jobke2016-10-061-2/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Reverted the default syslog tag to avoid breaking existing systems.Thomas Pulzer2016-07-221-1/+1
|
* Changed logtype to file instead of owncloud.Thomas Pulzer2016-07-222-2/+2
| | | | | | | | | | | | | | - 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-214-6/+12
|
* Changed name of default logfile from owncloud.log to nextcloud.log.Thomas Pulzer2016-07-041-2/+2
|
* Hack to prevent infinite loop with LDAP + loggingVincent Petry2016-05-311-3/+2
| | | | Forward port of a50619200c6a08929dbe802118a6afadb376b866 to 9.1/master
* Update license headersLukas Reschke2016-05-263-3/+5
|
* Move \OC\Log to PSR-4Roeland Jago Douma2016-05-035-0/+433