summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-27 03:15:25 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-27 03:15:25 +0000
commita87776200769024767b288af22d8811650fa6207 (patch)
treed78d3fdad68fd23cf6bac9912a5ff0ba949ad97c
parent02ec381a70cafd1261bec5d0a583d34f372eef00 (diff)
downloadATCD-a87776200769024767b288af22d8811650fa6207.tar.gz
Setting the right default values for process and thread level priority masks.
-rw-r--r--ace/Log_Msg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp
index 18997b4d135..52be31e3688 100644
--- a/ace/Log_Msg.cpp
+++ b/ace/Log_Msg.cpp
@@ -335,8 +335,12 @@ pid_t ACE_Log_Msg::pid_ = -1;
int ACE_Log_Msg::msg_off_ = 0;
// Default per-thread priority mask
+// By default, no priorities are enabled.
+u_long ACE_Log_Msg::default_priority_mask_ = 0;
+
+// Default per-process priority mask
// By default, all priorities are enabled.
-u_long ACE_Log_Msg::default_priority_mask_ = LM_SHUTDOWN
+u_long ACE_Log_Msg::process_priority_mask_ = LM_SHUTDOWN
| LM_TRACE
| LM_DEBUG
| LM_INFO
@@ -348,10 +352,6 @@ u_long ACE_Log_Msg::default_priority_mask_ = LM_SHUTDOWN
| LM_ALERT
| LM_EMERGENCY;
-// Default per-process priority mask
-// By default, no priorities are enabled.
-u_long ACE_Log_Msg::process_priority_mask_ = 0;
-
void
ACE_Log_Msg::close (void)
{