Description
This will improve the current audit logging feature. currently there are 2 loggers which are very verbose so this will add a 3rd which focus mainly around access to resources that a console user or a jmx client may use. Also currently no success/failure is logged only entry points in methods, this new logger will log success or failure.
Here is a list of the improvements:
- New Resource logger added
- This will log more resource related access from JMX/console mainly around creation of resources and access to these resource
- It will be enabled independently of the other loggers
- Message audit log will be changed to be configurable independently not with base audit log, and the new resource logger will also be configurable independently.
- Add the ability to capture the remote address of the calling client whether it be through JMX/console or a normal Netty connection
- Add the ability to capture authentication success or failure from the console
- Add the ability to log failures to JMX mbeans in the authentication process.
Also tidy up the current logger codes.