Issue #3449312: Add support stdout
Add support to write ELT log on standard output (stdout)
- Add
event_log_track_stdoutsub-module : Provide support to write ELT log on php://stdout or php://stderr for better log handling with Docker. Seemodules/event_log_track_stdout/README.md -
hook_token_info()andhook_tokens()are moved from theevent_log_track_syslogmodule to theevent_log_trackmodule. This is to mutualize the code used by theevent_log_track_syslogandevent_log_track_stdoutsub-modules. -
hook_event_log_track_alter()is triggered earlier in theevent_log_track_insert()function. This allows other modules to modify the log before it is written, regardless of its destination (syslog, stdout or database). - The schema of the
event_log_track.settingsconfig is modified : Items concerning syslog and stdout are grouped in mapping object. Theevent_log_track_update_9405()method is used to recover existing syslog configurations.
Closes #3449312