[Opensrf-commits] r1423 - trunk/src/gateway
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Aug 19 22:55:39 EDT 2008
Author: dbs
Date: 2008-08-19 22:55:36 -0400 (Tue, 19 Aug 2008)
New Revision: 1423
Modified:
trunk/src/gateway/osrf_json_gateway.c
Log:
Log the locale for each request in the activity log
Modified: trunk/src/gateway/osrf_json_gateway.c
===================================================================
--- trunk/src/gateway/osrf_json_gateway.c 2008-08-19 18:07:33 UTC (rev 1422)
+++ trunk/src/gateway/osrf_json_gateway.c 2008-08-20 02:55:36 UTC (rev 1423)
@@ -294,7 +294,7 @@
const char* authtoken = apr_table_get(r->headers_in, "X-OILS-Authtoken");
if(!authtoken) authtoken = "";
growing_buffer* act = buffer_init(128);
- buffer_fadd(act, "[%s] [%s] %s %s", r->connection->remote_ip, authtoken, service, method );
+ buffer_fadd(act, "[%s] [%s] [%s] %s %s", r->connection->remote_ip, authtoken, osrf_locale, service, method );
char* str; int i = 0;
while( (str = osrfStringArrayGetString(mparams, i++)) ) {
if( i == 1 ) {
More information about the opensrf-commits
mailing list