lightning-terminal/firewall
Viktor Torstensson 51f33086be
firewall: add request logger disable flag
This introduces a new firewall.request-logger.disable config option to
completely disable request logging. When disabled, the request logger
interceptor is not instantiated, avoiding all logging overhead including
database writes and request processing.

This is implemented as a separate disable flag rather than adding a new
log level because the goal is to bypass the logging system entirely for
performance reasons, not just filter events. A log level would still
process and filter each request through the interceptor.

The change also adds validation to ensure autopilot remains enabled only
when request logging is active, since autopilot relies on action logs
for rule enforcement and auditing.
2026-02-12 17:14:01 +01:00
..
caveats.go multi: update lnd dependency to v0.16.0-beta.rc3 2023-03-15 08:36:23 -07:00
caveats_test.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
config.go firewall: add request logger disable flag 2026-02-12 17:14:01 +01:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
privacy_mapper.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
privacy_mapper_test.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
request_info.go firewall+firewalldb: extract Account ID and pass to AddActionReq 2025-05-21 14:14:13 +02:00
request_logger.go multi: remove AddActionReq MacaroonIdentifier 2025-10-03 11:44:05 +02:00
rule_enforcer.go firewall: extract SessionID from gRPC metadata 2025-05-16 11:57:39 +02:00