replace syslog with warns
authorGalen Charlton <gmcharlt@gmail.com>
Sun, 6 Sep 2009 00:43:44 +0000 (20:43 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Sun, 6 Sep 2009 01:43:12 +0000 (21:43 -0400)
commit0bbcfeda0e624ddbbf83dfae0f964192528f4260
tree1a7ccb07374a30de453f943bc9deae3453b6f4af
parent0af3d16b278cc89fea4be707b92a0ffb65f9958f
replace syslog with warns

As discussed with Chris Nighswonger on #koha, this patch
removes the calls to syslog and replaces them with warns
so that error messages generated by the labels code
are sent to the Apache error log.  This avoids splitting
this sort of logging across multiple files and is consistent
with current practice in most of the rest of Koha.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
23 files changed:
C4/Labels/Batch.pm
C4/Labels/Label.pm
C4/Labels/Layout.pm
C4/Labels/Lib.pm
C4/Labels/Profile.pm
C4/Labels/Template.pm
C4/Patroncards/Patroncards.pm
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tmpl
labels/label-create-csv.pl
labels/label-create-pdf.pl
labels/label-create-xml.pl
labels/label-edit-batch.pl
labels/label-edit-layout.pl
labels/label-edit-profile.pl
labels/label-edit-template.pl
labels/label-item-search.pl
labels/label-manage.pl
t/db_dependent/Labels/t_Batch.t
t/db_dependent/Labels/t_Layout.t
t/db_dependent/Labels/t_Profile.t
t/db_dependent/Labels/t_Template.t
tools/manage-marc-import.pl