Opened 8 years ago
Closed 8 years ago
#2013 closed task (fixed)
Add support for logging when items are viewed
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.9 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
The change logging system (#108) already in use should be extended with support for logging when items are viewed. The change logging is automatic and implemented at a deep level (hooking into Hibernate).
The view logging need to be different since at the Hibernate level there is no information if someone is actually going to view the information.
A VIEW log entry need to be invoked from the client application that is displaying the information.
In this stage we should not implement any VIEW logging in the regular web client.
Follow-up things to consider:
- Should the "Change history" tab in the GUI be renamed to something else?
- Should the VIEW log entries require special permission just as viewing the old/new values in the change log?
Change History (5)
comment:1 by , 8 years ago
Milestone: | BASE Future Release → BASE 3.9 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 8 years ago
comment:3 by , 8 years ago
comment:4 by , 8 years ago
comment:5 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [7164]) References #2013: Add support for logging when items are viewed
Added an API for this. Client applications should call
DbControl.logEntry(ManualLogEntry)
to initiate a log entry. If the logging actually happens depend on if logging has been enabled or not and if the logging extensions have support for manual entries.The built-in database logging (
DbLogManagerFactory
) support manual logging (viaManualEntryLogger
) for all items that implements theLoggableData
interface.