syslog.filter
INI • Added in PHP 7.3
syslog.filter
— Set this to disable filtering control characters (the default). Some loggers only accept NVT-ASCII, others accept anything that's not control characters. If your logger accepts everything, then no filtering is needed at all. Allowed values are: ascii (all printable ASCII characters and NL) no-ctrl (all characters except control characters) all (all characters) raw (like "all", but messages are not split at newlines)
Default value | "no-ctrl" |
Development value | "no-ctrl" |
Production value | "no-ctrl" |
Modifiability: INI_ALL
- The syslog.filter
INI directive can be configured anywhere, including php.ini
files, ini_set
calls, Apache .htaccess
files, per-directory .ini
files, etc.
syslog.filter = "no-ctrl"
Changes to the syslog.filter
INI
PHP 7.3
- INI directive added
syslog.filter
INI Availability
syslog.filter
INI AvailabilityPHP Version | Availability |
---|---|
PHP 8.5Future Release | Yes |
PHP 8.4Upcoming Release | Yes |
PHP 8.3Supported (Latest) | Yes |
PHP 8.2Supported | Yes |
PHP 8.1Security-Fixes Only | Yes |
PHP 8.0Unsupported | Yes |
PHP 7.4Unsupported | Yes |
PHP 7.3Unsupported | Yes |
PHP 7.2Unsupported | No |
PHP 7.1Unsupported | No |
PHP 7.0Unsupported | No |
PHP 5.6Unsupported | No |
PHP 5.5Unsupported | No |
PHP 5.4Unsupported | No |
PHP 5.3Unsupported | No |