summaryrefslogtreecommitdiff
path: root/netsvcs/servers
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-13 21:04:24 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-13 21:04:24 +0000
commitb6f9b851c72df10e2b0e8e709ad70e0286816ee4 (patch)
treeea2f5d0d9414f68a6b1ce3c0083704483337d032 /netsvcs/servers
parent506302eb64a03450702113600017484f96b27260 (diff)
downloadATCD-b6f9b851c72df10e2b0e8e709ad70e0286816ee4.tar.gz
ChangeLogTag:Fri Jul 13 15:59:45 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
Diffstat (limited to 'netsvcs/servers')
-rw-r--r--netsvcs/servers/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/netsvcs/servers/main.cpp b/netsvcs/servers/main.cpp
index 6c7503c88ba..e39b0e23ebe 100644
--- a/netsvcs/servers/main.cpp
+++ b/netsvcs/servers/main.cpp
@@ -40,7 +40,8 @@ main (int argc, char *argv[])
else // Use static linking.
{
if (ACE::debug () == 0)
- ACE_Log_Msg::disable_debug_messages ();
+ ACE_LOG_MSG->priority_mask (~LM_DEBUG,
+ ACE_Log_Msg::PROCESS);
// Calling ACE_SVC_INVOKE to create a new Service_Object.
// Stash the newly created Service_Object into an
@@ -141,7 +142,8 @@ main (int argc, char *argv[])
else // Use dynamic linking.
{
if (ACE::debug () == 0)
- ACE_Log_Msg::disable_debug_messages ();
+ ACE_LOG_MSG->priority_mask (~LM_DEBUG,
+ ACE_Log_Msg::PROCESS);
// Run forever, performing the configured services until we are
// shut down by a SIGINT/SIGQUIT signal.