On 4/10/24 07:22, Marc wrote:
Oops I was mislead by some old posts. GlobalLog[1] does this for everything. However I have not found what value[2] has the requested virtual host name. [1] https://httpd.apache.org/docs/current/mod/mod_log_config.html [2] https://httpd.apache.org/docs/current/mod/mod_log_config.html#formats
You could also use https://httpd.apache.org/docs/current/mod/mod_lua.html#luahooklog to split up your logs or discard/silence certain entries.
Currently I have modified some rust application that does this to satisfaction. But piping to a 60MB binary for quite a few virtual hosts does not really seem efficient to me. Is there not some apache module that can offer a "global" access to logging and 'clones' all logging to some tcp socket? (I prefer not to route first to syslog)I was wondering how I could use piped logs to redirect some logs, comparable to curl post requests. [1] https://httpd.apache.org/docs/current/logs.html--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx