audit4j / audit4j-core

An open source auditing framework.
http://audit4j.org
Apache License 2.0
125 stars 77 forks source link

a little contribution #83

Open zgq456 opened 5 years ago

zgq456 commented 5 years ago

I have done some optimization for audit4j after using this for some time, including

  1. print precise argument name instead of arg0, 1.... in conjunction with jdk8 feature
  2. deep size check to avoid infinite recursion (manual skip http request/response/session heavy objects, maybe you can expose configuration to skip user custom class , eg joda LocalDateTime, LocalDate )
  3. release resource to avoid too many open files in Linux , this is fatal, there was an existed issue opened raised by someone found in solaris