diff --git a/about.pl b/about.pl index 799f8ed910..93532d1b0f 100755 --- a/about.pl +++ b/about.pl @@ -826,7 +826,9 @@ sub log4perl_check { for my $line (@lines) { next unless $line =~ m|log4perl\.appender\.\w+\.filename=(.*)|; my $file = $1; - if ( !-w $file ) { + if ( $file =~ /sip\.log$/ ) { + push @log4perl_errors, 'sip_log_still_found'; + } elsif ( !-w $file ) { push @log4perl_errors, 'logfile_not_writable'; #NOTE: An unwritable logfile blocks plack.psgi. So you won't reach this script. (BZ 39155) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 71b5a91153..904b37f372 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -449,6 +449,8 @@ One of the logfiles listed in the config file is not writable. [% CASE 'cannot_init_module' %] The Koha::Logger module cannot be initiated correctly (check the log file). + [% CASE 'sip_log_still_found' %] + Config file log4perl.conf still refers to sip.log (instead of sip-output.log). [% CASE %] Unknown error '[% e | html %]'. [% END %]