Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
};
}
+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
to legacy facet calculation.
</td>
</tr>
+ [% ELSIF config_entry.error == 'log4perl_entry_missing' %]
+ <tr>
+ <th scope="row"><b>Warning</b></th>
+ <td>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.
+ </td>
+ </tr>
[% END %]
[% END %]
</table>