drastically simplified logger code now supports logging to file and syslog
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Nov 2005 17:01:19 +0000 (17:01 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Nov 2005 17:01:19 +0000 (17:01 +0000)
commit3554ee747b1a22024c06c40f39b8b06b23925abf
treeccf11e284fb751f17a690858e8c545ea45a00059
parent40cfdf6678d875fb13c2da0e34c915cc7590b97e
drastically simplified logger code now supports logging to file and syslog
logger is backward compatible, but future calls need only have the form:
$logger->error($msg);
$logger->warn($msg);
$logger->info($msg);
$logger->debug($msg);
$logger->internal($msg);
$logger->activity($msg);

log message format is not entirely complete yet (haven't added caller info)
syslog and file logging have been tested

added example config options for log file and activity syslog facility

removed convoluted log line from appsession

git-svn-id: svn://svn.open-ils.org/ILS/trunk@2131 dcc99617-32d9-48b4-a31d-7c20da2025e4
OpenSRF/examples/bootstrap.conf.example
OpenSRF/src/perlmods/OpenSRF/AppSession.pm
OpenSRF/src/perlmods/OpenSRF/Utils/Logger.pm