[PATCH 3/3] mod_log_config: Add JSON logger

2023-03-24 Thread Thomas Meyer
--- modules/loggers/mod_log_config.c | 159 +-- 1 file changed, 153 insertions(+), 6 deletions(-) diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c index d142c888ad..188131ebac 100644 --- a/modules/loggers/mod_log_config.c +++ b/modules/l

[PATCH 2/3] mod_log_config: Forward log_format_items to the log_writer

2023-03-24 Thread Thomas Meyer
Prepare for JSON writer --- modules/loggers/mod_log_config.c | 6 +- modules/loggers/mod_log_config.h | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c index 6934a8691c..d142c888ad 100644 --- a/modules/logge

[PATCH 1/3] mod_log_config: add creating tag to log_format_item

2023-03-24 Thread Thomas Meyer
Preprartional change for upcoming JSON support --- modules/loggers/mod_log_config.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c index 5d5b73a1f5..6934a8691c 100644 --- a/modules

[RFC] JSON logging support for httpd 2.4.x

2023-03-24 Thread Thomas Meyer
Hi, please have a look at this preliminarily work to support JSON output in mod_log_config. It's still unfinished and has probably a lot of bugs, but this is to show the general idea of my solution. Help and feedback is most welcome. Mfg thomas