summaryrefslogtreecommitdiff
path: root/main/php_syslog.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-06-171-0/+7
|\
| * Add syslog.filter=rawErik Lundin2019-06-171-0/+7
| | | | | | | | | | This passes through syslog message unchanged, without splitting messages at newlines.
* | Update and fix remaining year ranges (2019)Peter Kokot2019-02-081-1/+1
| | | | | | | | | | | | This patch follows previous license year ranges updates. With new approach source code files now have simplified headers with license information without year ranges.
* | Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* | Remove HAVE_ASSERT_HPeter Kokot2018-09-091-1/+0
|/ | | | | | | | | | | | | | | | The `<assert.h>` header file is part of the standard C89 headers [1] and on older systems there needed to be also a manual check if header is present. Since PHP requires at least C89 manual check and the `HAVE_ASSERT_H` symbol defined by Autoconf in configure.ac can be both removed [2]. This patch also removes unused <assert.h> includes where c files don't use the `assert()` macro. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Rename none syslog.filter to all and update ini descriptionJakub Zelenka2018-07-221-1/+1
|
* Add syslog.filter INI for filtering syslog messagesPhilip Prindeville2018-07-221-2/+14
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* Add syslog's ident and facility parameters to configPhilip Prindeville2018-07-011-0/+18
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* Happy new year (Update copyright to 2018)Lior Kaplan2018-01-041-1/+1
|
* Follow up on ed9c16ad5def47d1c8ae2787f53dccfac893ce5fAnatol Belski2017-08-191-1/+12
| | | | | | The event log is not line based, passing the message as is here is just fine. Otherwise we'd create multiple event log items with partial messages.
* Turn php_syslog() into wrapper for syslog and split linesPhilip Prindeville2017-08-191-0/+81