From caec844711c078823821a61d4fc0a9fab294fbbe Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 20 Aug 2008 03:47:55 +0000 Subject: [PATCH] Log session locale as part of request git-svn-id: svn://svn.open-ils.org/ILS/trunk@10375 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm index 674fea1127..337fff71fa 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm @@ -288,8 +288,9 @@ sub request { my $val; my $err; my $argstr = __arg_to_string( (scalar(@params)) == 1 ? $params[0] : \@params); + my $locale = $self->session->session_locale; - $self->log(I, "request $method $argstr"); + $self->log(I, "request $method $locale $argstr"); if( ($self->{xact} or $always_xact) and $self->session->state != OpenSRF::AppSession::CONNECTED() ) { @@ -333,7 +334,7 @@ sub substream { # ----------------------------------------------------------------------------- -# Sets / Returns the requstor object. This is set when checkauth succeeds. +# Sets / Returns the requestor object. This is set when checkauth succeeds. # ----------------------------------------------------------------------------- sub requestor { my($self, $requestor) = @_; -- 2.43.2