Bug 29917 - Logging Plug-In Usage
Summary: Logging Plug-In Usage
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Plugin architecture (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-20 16:14 UTC by Rebecca Coert
Modified: 2022-01-21 23:28 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rebecca Coert 2022-01-20 16:14:42 UTC
Plug-in Usage is not tracked at all & it would be very helpful to have the date a plug-in was last run/generated/used added to the Home › Tools › Plugins screen.
It has a "Last Updated" column which is helpful, but this information would also be useful.

Alternatively, it would be great to have this added to the system logs like the cronjobs are.
Comment 1 Fridolin Somers 2022-01-21 20:50:16 UTC
Good idea.

I think this should be limited to hooks tools and report.
Other hooks like intranet_js would generate too much entries.

Or let the plugin decide what to log ?
Comment 2 Katrin Fischer 2022-01-21 23:28:16 UTC
I was worried about the same thing as you Frido, creating too many entries. 

We could tie it to a system preference maybe, but I also like the idea of the having the plugin decide what to log.