Setting the logging service name to the application we're serving
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 1 Dec 2005 20:31:19 +0000 (20:31 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 1 Dec 2005 20:31:19 +0000 (20:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2148 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/src/perlmods/OpenSRF/UnixServer.pm

index f28acde..34b83f0 100644 (file)
@@ -150,6 +150,7 @@ sub serve {
        my( $self ) = @_;
 
        my $app = $self->app();
+       $logger->set_service($app);
 
        $0 = "OpenSRF master [$app]";