Checking perms LOUD_NOISES for user 123 at location 321
So? I have changed these to use $logger->debug though they can
maybe just be removed entirely?
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
use OpenSRF::EX qw(:try);
use OpenSRF::System;
+use OpenSRF::Utils::Logger qw/$logger/;
# set the bootstrap config and template include directory when
$ws_ou ||= $user->home_ou;
- warn "Checking perms " . join(',', @$perms) . " for user " . $user->id . " at location $ws_ou\n";
+ $logger->debug("Checking perms " . join(',', @$perms) . " for user " . $user->id . " at location $ws_ou\n");
my $failures = OpenSRF::AppSession
->create('open-ils.actor')
use OpenSRF::EX qw(:try);
use OpenSRF::System;
+use OpenSRF::Utils::Logger qw/$logger/;
# set the bootstrap config when
# this module is loaded
if ($user) {
$ws_ou ||= $user->home_ou;
- warn "Checking perms " . join(',', @$perms) . " for user " . $user->id . " at location $ws_ou\n";
+ $logger->debug("Checking perms " . join(',', @$perms) . " for user " . $user->id . " at location $ws_ou\n");
my $failures = OpenSRF::AppSession
->create('open-ils.actor')