Repository navigation
Log filtering issue with multiple log directives #249
Replies: 7 comments
|
Hi, I've just tried this with a configuration close to the one you've posted but found no issues. Could you please show some debug output ("debug = ACL" should be fine). This would give some insight on log filter processing. Thanks, Marc |
|
docker compose run --rm tac_plus_ng -f -D -d 255 /etc/tac_plus-ng/tac_plus-ng.cfg 2>&1 | tee debug_output.log The entire log was recorded in a single file; the 'special' log was not created. tac_plus-ng.cfg authorization-2026-07-30.log debug_output.log |
|
Hi,
Cheers, Marc |
|
Using I have two accounting logs configured: However, it looks like only one of them is being processed. The second log entry seems to be ignored. For example, if I put I expected both loggers to be executed sequentially, since Could this be related to configuration parsing or adding multiple accounting log entries to the realm? |
|
Hi,
So, do you want to filter on the device (router, switch, whatever) IP, or on the IP the client is coming from? Cheers, Marc |


Uh oh!
There was an error while loading. Please reload this page.
Dear Marc,
Thank you for developing and maintaining tac_plus-ng. I am currently facing a configuration issue related to log filtering.
Goal:
I need to split authorization and accounting logs into two separate files based on the client IP address. Main log (authorization.log): must contain all records except those originating from the IP addresses 198.51.100.10 and 198.51.100.20. Special log (special/authorization_special.log): must contain only records from these two IPs.
Configuration:
Problem:
The special log works as expected. However, the main log still contains records from both IPs (198.51.100.10 and 198.51.100.20), meaning the filters in authorlog_main appear to be ignored when multiple authorization log directives are used.
Attempts to resolve:
I have tested various syntax variations:
None of these approaches resolved the issue.
Questions:
Environment:
I have thoroughly reviewed the documentation and existing GitHub issues, but I could not find a definitive answer to this specific use case.
Thank you for your time.
All reactions