Skip to content

Conditional logging of rule file name and line number. #1065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
marcstern opened this issue Feb 2, 2016 · 0 comments
Closed

Conditional logging of rule file name and line number. #1065

marcstern opened this issue Feb 2, 2016 · 0 comments
Assignees

Comments

@marcstern
Copy link

Each time a rule triggers and is logged, it generates a line in the audit log (and possibly in the error log) containing the name of the file containing the rule, as well as the line number.
Although it may be useful in some cases, this also wastes a lot of disk space ("wastes" because we can easily find the rule thanks to its id).
Furthermore, when using nested macros (with httpd mod_macro), the filename may be several thousands characters long (real life experience); this becomes totally insane.
We should have a directive (or a compile flag) to disable that logging.
Ex. of compile flag: #marcstern@9e68805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants