[open-ils-commits] r10375 - trunk/Open-ILS/src/perlmods/OpenILS/Utils

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Aug 19 23:47:57 EDT 2008


Author: dbs
Date: 2008-08-19 23:47:55 -0400 (Tue, 19 Aug 2008)
New Revision: 10375

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm
Log:
Log session locale as part of request

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2008-08-19 20:02:54 UTC (rev 10374)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2008-08-20 03:47:55 UTC (rev 10375)
@@ -288,8 +288,9 @@
     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 @@
 
 
 # -----------------------------------------------------------------------------
-# 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) = @_;



More information about the open-ils-commits mailing list