Setting the logging service name to the application we're serving
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 1 Dec 2005 20:31:19 +0000 (20:31 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 1 Dec 2005 20:31:19 +0000 (20:31 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@593 9efc2488-bf62-4759-914b-345cdb29e865

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]";