/* ----------------------------------------------------------------- */
/* log all requests to the activity log */
growing_buffer* act = buffer_init(128);
- buffer_fadd(act, "[%s] %s:%s", r->connection->remote_ip, service, method );
+ buffer_fadd(act, "[%s] %s %s", r->connection->remote_ip, service, method );
char* str; int i = 0;
while( (str = osrfStringArrayGetString(mparams, i++)) )
- buffer_fadd(act, " %s", str);
+ if( i == 1 ) buffer_fadd(act, " %s", str);
+ else buffer_fadd(act, ", %s", str);
osrfLogActivity( OSRF_LOG_MARK, act->buf );
buffer_free(act);