You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by aj...@apache.org on 2006/11/28 12:20:03 UTC

svn commit: r479991 - /incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/util/Logger.cpp

Author: ajborley
Date: Tue Nov 28 03:20:02 2006
New Revision: 479991

URL: http://svn.apache.org/viewvc?view=rev&rev=479991
Log:
Upped the buffer size for logging messages - was hitting the 1024 limit with some web service call logging

Modified:
    incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/util/Logger.cpp

Modified: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/util/Logger.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/util/Logger.cpp?view=diff&rev=479991&r1=479990&r2=479991
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/util/Logger.cpp (original)
+++ incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/util/Logger.cpp Tue Nov 28 03:20:02 2006
@@ -114,6 +114,7 @@
             {
                 va_list variableArguments;
                 va_start(variableArguments, msg);
+                char messageBuffer[4096];
                 vsprintf(messageBuffer, msg, variableArguments);
                 logWriter->log(level, pid, messageBuffer);
                 va_end(variableArguments);
@@ -126,6 +127,7 @@
             {
                 va_list variableArguments;
                 va_start(variableArguments, msg);
+                char messageBuffer[4096];
                 vsprintf(messageBuffer, msg, variableArguments);
                 logWriter->log(0, pid, messageBuffer);
                 va_end(variableArguments);
@@ -137,6 +139,7 @@
             {
                 va_list variableArguments;
                 va_start(variableArguments, msg);
+                char messageBuffer[4096];
                 vsprintf(messageBuffer, msg, variableArguments);
                 logWriter->log(1, pid, messageBuffer);
                 va_end(variableArguments);
@@ -148,6 +151,7 @@
             {
                 va_list variableArguments;
                 va_start(variableArguments, msg);
+                char messageBuffer[4096];
                 vsprintf(messageBuffer, msg, variableArguments);
                 logWriter->log(2, pid, messageBuffer);
                 va_end(variableArguments);



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org