https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42714
Bug ID: 42714
Summary: Koha::Script should automatically log start and end of
scripts when they are run
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Command-line Utilities
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
Currently, our scripts/cronjobs are expected to add cronlogaction calls at the
start and end to ensure they are recorded in the action logs.
This is tricky as we have to maintain these lines in all cron scripts
An easier way to do this is to add INIT and END blocks to Koha::Script - these
can log the run, and require only one line per file to add the logging.
Adding to Koha::Script will mean that any command line script using it will be
recorded, but I think this is actually a benefit and makes tracing actions
easier
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/