summaryrefslogtreecommitdiffstats
path: root/lib/private/Log/File.php
Commit message (Collapse)AuthorAgeFilesLines
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-1/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* log version number in each log lineMorris Jobke2016-10-061-2/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Changed logtype to file instead of owncloud.Thomas Pulzer2016-07-221-0/+185
- 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.