简体   繁体   中英

How can I implement Audit4J in my Java GUI application

This is my first time encountering Audit4J, and I'm wondering how I can implement that in my Java GUI project. I've tried reading the documentation in the website, but I wasn't able to grasp it concretely, and I've also seen the sample project for Audit4J in the github, but I wasn't able to understand it. Is there some other links, or can someone help me with it.

You should add audit4j-core as a dependency. If you want to save audit trails in to database you can should configure database handler in the configuration file in the classpath. Sample configuration file can be found here .

Then you'll able to submit audit event calling AuditManager. Please refer the documentation .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM