@@ -, +, @@ be tested in about.pl --- about.pl | 6 ++++++ koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 7 +++++++ 2 files changed, 13 insertions(+) --- a/about.pl +++ a/about.pl @@ -151,6 +151,12 @@ if ( (C4::Context->config('zebra_auth_index_mode') eq 'grs1') && ($context->{'se }; } +if ( ! defined C4::Context->config('log4perl_conf') ) { + push @xml_config_warnings, { + error => 'log4perl_entry_missing' + } +} + # Test QueryParser configuration sanity if ( C4::Context->preference( 'UseQueryParser' ) ) { # Get the QueryParser configuration file name --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -229,6 +229,13 @@ to legacy facet calculation. + [% ELSIF config_entry.error == 'log4perl_entry_missing' %] + + Warning + You are missing the <log4perl_conf> entry in your koha-conf.xml file. Please + add it, pointing to the log4perl.conf file for your Koha instance. + + [% END %] [% END %] --