Commit 90de09db authored by unknown's avatar unknown

ndb - dbug aid for api signal log


ndb/src/ndbapi/TransporterFacade.cpp:
  dbug aid for api signal log
parent acfca425
...@@ -160,6 +160,10 @@ setSignalLog(){ ...@@ -160,6 +160,10 @@ setSignalLog(){
} else if(tmp !=0){ } else if(tmp !=0){
if (strcmp(tmp, "-") == 0) if (strcmp(tmp, "-") == 0)
signalLogger.setOutputStream(stdout); signalLogger.setOutputStream(stdout);
#ifndef DBUG_OFF
else if (strcmp(tmp, "+") == 0)
signalLogger.setOutputStream(DBUG_FILE);
#endif
else else
signalLogger.setOutputStream(fopen(tmp, "w")); signalLogger.setOutputStream(fopen(tmp, "w"));
apiSignalLog = tmp; apiSignalLog = tmp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment