Logging User Activity
Last updated
Last updated
LeonaLog has been built using a client-server architecture model in which the user interface retrieves all data via a collection of REST APIs. Thus logging relevant user activity, in other words, an access log, is simply a matter of enabling a built-in feature. It logs all requests to the leona REST API and produces an access log augmented by additional information, like the user name, the remote address, and the user agent.
The Access Log is configured by adding an appender and logger to the file (log4j2.xml). The following example demonstrates the required additions on top of the normal logging configuration: