setting the logger app name for debugging
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Dec 2005 16:27:51 +0000 (16:27 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Dec 2005 16:27:51 +0000 (16:27 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2257 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/apachemods/mod_rest_gateway.c
OpenSRF/src/gateway/mod_ils_gateway.c

index 21a51a8..9fd4beb 100644 (file)
@@ -35,6 +35,7 @@ static void mod_ils_gateway_child_init(apr_pool_t *p, server_rec *s) {
                osrfLogError("Unable to load gateway config file...");
                return;
        }
+       osrfLogSetAppname("oils_rest_gw");
        fprintf(stderr, "Bootstrapping %d\n", getpid() );
        fflush(stderr);
 }
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);
 }