drastically simplified logger code now supports logging to file and syslog
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Nov 2005 17:01:19 +0000 (17:01 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Nov 2005 17:01:19 +0000 (17:01 +0000)
commitbe90c08e4f1458980ea79697de34567fc2ccdaf4
treef60ce9d1b3cb7f34ac1965a7a360d92f287c9eba
parent672e5eeb6910eef3892953e54ef240598bffb099
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/OpenSRF/trunk@586 9efc2488-bf62-4759-914b-345cdb29e865
examples/bootstrap.conf.example
src/perlmods/OpenSRF/AppSession.pm
src/perlmods/OpenSRF/Utils/Logger.pm