Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Log4j-Audit 1.0.0
-
None
Description
The RequestContextFilter logs some details that should be done on DEBUG or TRACE instead of INFO.
INFO [org.apache.logging.log4j.audit.rest.RequestContextFilter] - Starting request {}/productrepository/2594 INFO [org.apache.logging.log4j.audit.rest.RequestContextFilter] - Request /productrepository/2594 completed in 0.139279500 seconds
There's even a small bug on the 1st line where concatenation was used.
The calculation of the request duration should also be moved in an if block, to avoid it if it won't be logged.
Same for the Maven plugin, I think it should print the name of the generated classes only on debug.
Attachments
Issue Links
- links to