summaryrefslogtreecommitdiff
path: root/ace/Log_Msg.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-11 21:55:17 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-11 21:55:17 +0000
commit925bf563ae3daadf302eb495bf6f83640e2c4aaf (patch)
tree7a33621ad7f799cd3b5b6df122b3989c6ee2d61e /ace/Log_Msg.cpp
parent37aa38e6522e4476e5b3262d3e3a53e7082b598d (diff)
downloadATCD-925bf563ae3daadf302eb495bf6f83640e2c4aaf.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Log_Msg.cpp')
-rw-r--r--ace/Log_Msg.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp
index f2edd3f0496..891ceef574b 100644
--- a/ace/Log_Msg.cpp
+++ b/ace/Log_Msg.cpp
@@ -873,6 +873,11 @@ ACE_Log_Msg::log (const char *format_str,
ACE_OS::free (ACE_MALLOC_T (save_p));
+ // Copy the message from thread-specific storage into the transfer
+ // buffer (this can be optimized away by changing other code...).
+ log_record.msg_data (this->msg ());
+
+
// Write the <log_record> to the appropriate location.
ssize_t result = this->log (log_record, abort_prog);
@@ -898,10 +903,6 @@ ACE_Log_Msg::log (ACE_Log_Record &log_record,
if (ACE_BIT_DISABLED (ACE_Log_Msg::flags_,
ACE_Log_Msg::SILENT))
{
- // Copy the message from thread-specific storage into the
- // transfer buffer (this can be optimized away by changing other
- // code...).
- log_record.msg_data (this->msg ());
this->stop_tracing ();
#if !defined (ACE_WIN32)