[Koha-bugs] [Bug 32791] Log4perl configuration files need a tool for updating on package upgrade

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 2 04:16:11 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32791

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 145985
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145985&action=edit
Bug 32791: Add Debian tool for adding missing config to log4perl files

This change adds a tool for adding missing config to log4perl files
for individual Koha instances created using Debian packages

Test plan:
0. Apply patch
1. Comment out a component in /etc/koha/sites/kohadev/log4perl.conf
    or delete some of the configuration
2. Run the following:
    ./debian/scripts/koha-log4perl kohadev
3. Note warning saying config has been updated
4. Review config to see that it was updated correctly
5. Run the following:
    ./debian/scripts/koha-log4perl kohadev
6. Note that no config changes are made

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list