http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14906
Bug ID: 14906
Summary: Koha::Logger does not correctly handle instantiation
errors
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Koha::Logger should log in the regular log files if the paths are not correctly
set (does not exist, no permission to write, etc.).
Also, the _check_conf subroutine will fail (return undef) if at least 1 path is
not correctly defined, which is not necessary:
154 foreach my $l (@lines) {
155 if ( $l =~ /(OPAC|INTRANET)\.filename\s*=\s*(.*)\s*$/i ) {
156
157 # we only check the two default logfiles, skipping additional
ones
158 return if !-w $2;
159 push @logs, $1 . ':' . $2;
160 }
161 }
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/