summaryrefslogtreecommitdiff
path: root/ace/Log_Msg.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-26 22:38:49 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-26 22:38:49 +0000
commitd86f427ede3d90e8f579a52061449d39a611bd55 (patch)
tree04db92726a3f75f550b325bd4924ec24b6bdebd6 /ace/Log_Msg.cpp
parent6ca4654f27f63096ee7f1f0c3b3b95b76d1ce5a1 (diff)
downloadATCD-d86f427ede3d90e8f579a52061449d39a611bd55.tar.gz
I'm done
Diffstat (limited to 'ace/Log_Msg.cpp')
-rw-r--r--ace/Log_Msg.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp
index 31015bddf5b..21525d93060 100644
--- a/ace/Log_Msg.cpp
+++ b/ace/Log_Msg.cpp
@@ -224,13 +224,13 @@ ACE_Log_Msg::ACE_Log_Msg (void)
: status_ (0),
errnum_ (0),
linenum_ (0),
- ostream_ (0),
restart_ (1), // Restart by default...
- thr_state_ (0),
+ ostream_ (0),
trace_depth_ (0),
thr_handle_ (0),
trace_active_ (0),
tracing_enabled_ (0), // Off by default?
+ thr_state_ (0),
priority_mask_ (LM_SHUTDOWN // By default, all priorities are enabled.
| LM_TRACE
| LM_DEBUG
@@ -601,8 +601,7 @@ ACE_Log_Msg::log (const char *format_str,
if (ACE_BIT_ENABLED (ACE_Log_Msg::flags_, ACE_Log_Msg::STDERR))
log_record.print (ACE_Log_Msg::local_host_,
ACE_BIT_ENABLED (ACE_Log_Msg::flags_, ACE_Log_Msg::VERBOSE),
- stderr,
- bp - this->msg ());
+ stderr);
if (ACE_BIT_ENABLED (ACE_Log_Msg::flags_, ACE_Log_Msg::LOGGER))
{
ACE_Str_Buf log_msg ((void *) &log_record,
@@ -627,8 +626,7 @@ ACE_Log_Msg::log (const char *format_str,
&& this->msg_ostream () != 0)
log_record.print (ACE_Log_Msg::local_host_,
ACE_BIT_ENABLED (ACE_Log_Msg::flags_, ACE_Log_Msg::VERBOSE),
- *this->msg_ostream (),
- bp - this->msg ());
+ *this->msg_ostream ());
this->start_tracing ();
}