nextcloud/lib/private/Log
Lukas Reschke c016b01bf9
Ensure log message is UTF-8 encoded
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>
2017-08-17 15:01:50 +02:00
..
ErrorHandler.php Fix others 2016-07-21 18:13:57 +02:00
Errorlog.php
File.php Ensure log message is UTF-8 encoded 2017-08-17 15:01:50 +02:00
Rotate.php Get the logfile location while running the logrotate cron job instead of when registering the job 2017-01-06 16:10:07 +01:00
Syslog.php Reverted the default syslog tag to avoid breaking existing systems. 2016-07-22 14:38:44 +02:00