Files
mod_reqin_log/packaging/deb/control
Jacquin Antoine 66549acf5c Initial commit: mod_reqin_log Apache module
Features:
- JSON logging of HTTP requests to Unix domain socket
- Configurable HTTP headers logging (flat JSON structure)
- Header value truncation and count limits
- Automatic reconnect on socket disconnection
- Error reporting with throttling

Configuration directives:
- JsonSockLogEnabled: Enable/disable logging
- JsonSockLogSocket: Unix socket path
- JsonSockLogHeaders: List of headers to log
- JsonSockLogMaxHeaders: Maximum headers to log
- JsonSockLogMaxHeaderValueLen: Max header value length
- JsonSockLogReconnectInterval: Reconnect delay
- JsonSockLogErrorReportInterval: Error log throttle

Includes:
- Module source code (src/)
- Unit and integration tests (tests/, scripts/)
- Documentation (README.md, architecture.yml)
- Build configuration (CMakeLists.txt, Makefile)
- Packaging (deb/rpm)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-26 13:55:07 +01:00

28 lines
1.0 KiB
Plaintext

Source: mod-reqin-log
Section: web
Priority: optional
Maintainer: Developer <dev@example.com>
Build-Depends: debhelper (>= 10),
apache2-dev,
apache2,
build-essential,
pkg-config
Standards-Version: 4.5.0
Homepage: https://github.com/example/mod_reqin_log
Package: libapache2-mod-reqin-log
Architecture: any
Depends: apache2, ${shlibs:Depends}, ${misc:Depends}
Description: Apache HTTPD module for logging HTTP requests as JSON to Unix socket
mod_reqin_log is an Apache HTTPD 2.4 module that logs all incoming HTTP requests
as JSON lines to a Unix domain socket. The logging occurs at request reception
time (post_read_request phase), capturing input-side data without waiting for
application processing.
.
Features:
- Non-blocking I/O to avoid stalling worker processes
- Configurable header logging with truncation support
- Automatic reconnection to Unix socket on failure
- Throttled error reporting to Apache error_log
- Compatible with prefork, worker, and event MPMs