setting the logger app name for debugging
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 7 Dec 2005 16:27:51 +0000 (16:27 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 7 Dec 2005 16:27:51 +0000 (16:27 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@603 9efc2488-bf62-4759-914b-345cdb29e865

src/gateway/mod_ils_gateway.c

index 83341b8..21067ec 100644 (file)
@@ -32,6 +32,7 @@ static void mod_ils_gateway_child_init(apr_pool_t *p, server_rec *s) {
                osrfLogError("Unable to load gateway config file...");
                return;
        }
+       osrfLogSetAppname("osrf_json_gw");
        fprintf(stderr, "Bootstrapping %d\n", getpid() );
        fflush(stderr);
 }