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

--- Comment #4 from David Cook <[email protected]> ---
This is a first draft so I'm happy to tweak the koha-log4perl tool. 

On one hand, it would be nice to have this code in a Koha Perl module so that
it could be suitably unit tested.

On the other hand, it's Debian-specific, so we'll need to be abstract the
snippets more, and we'll need to make the koha-log4perl tool aware of paths in
PERL5LIB. Probably parsing it, splitting it, and then using "use lib $path". 

I'm not opposed to that. But it's a consideration. 

It probably would be better to put it into a Perl module and unit test it, so
that we can fully automate the testing of this one. 

--

Anyway, I mostly wanted to do these patches as a proof of concept and then get
feedback.

I think it's a big step forward from doing this all in
debian/koha-common.postinst and debian/koha-core.postinst themselves.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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/

Reply via email to