From: erickson Date: Thu, 1 Dec 2005 20:31:19 +0000 (+0000) Subject: Setting the logging service name to the application we're serving X-Git-Tag: osrf_rel_2_0_1~1280 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=17e974c91ee96e74e21106007a4be99b07e7f750;p=OpenSRF.git Setting the logging service name to the application we're serving git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@593 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/perlmods/OpenSRF/UnixServer.pm b/src/perlmods/OpenSRF/UnixServer.pm index f28acde..34b83f0 100644 --- a/src/perlmods/OpenSRF/UnixServer.pm +++ b/src/perlmods/OpenSRF/UnixServer.pm @@ -150,6 +150,7 @@ sub serve { my( $self ) = @_; my $app = $self->app(); + $logger->set_service($app); $0 = "OpenSRF master [$app]";