added IP addresses to log line
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 7 Jun 2006 12:26:46 +0000 (12:26 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 7 Jun 2006 12:26:46 +0000 (12:26 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@733 9efc2488-bf62-4759-914b-345cdb29e865

src/gateway/osrf_json_gateway.c

index b8e1899..b4b1bd5 100644 (file)
@@ -149,8 +149,11 @@ static int osrf_json_gateway_method_handler (request_rec *r) {
                }
 
 
-               osrfLogInfo( OSRF_LOG_MARK,  "service=%s, method=%s", service, method );
+               osrfLogInfo( OSRF_LOG_MARK,  "[%s] service=%s, method=%s", 
+                               r->connection->remote_ip, service, method );
+
                osrfAppSession* session = osrf_app_client_session_init(service);
+
                double starttime = get_timestamp_millis();
                int req_id = osrf_app_session_make_req( session, NULL, method, api_level, mparams );
                osrf_message* omsg = NULL;