Issue #3449312: Add support stdout
Add support to write ELT log on standard output (stdout)
- Add
event_log_track_stdout
sub-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_syslog
module to theevent_log_track
module. This is to mutualize the code used by theevent_log_track_syslog
andevent_log_track_stdout
sub-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.settings
config 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