OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000328OMNeT++simulation kernelpublic2011-05-31 17:082011-09-14 12:48
Reporterjesjones 
Assigned Toandras 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.1 
Target VersionFixed in Version4.2 
Summary0000328: componentInitBegin is too spammy
DescriptionNot sure that the original code was correct (it seems like it should be if opt_expressmode instead of not if) but there should be a way to suppress the zillion initializing messages when running via the command line.
Additional Information@@ -553,17 +553,17 @@ const char *Cmdenv::progressPercentage()
         // against this string for detecting user input
         sprintf(buf, " %d%% completed", (int)(100*ratio));
         return buf;
     }
 }
 
 void Cmdenv::componentInitBegin(cComponent *component, int stage)
 {
- if (!opt_expressmode)
+ if (opt_modulemsgs) // only show these messages when cmdenv-module-messages = true
         ::fprintf(fout, "Initializing %s %s, stage %d\n",
                 component->isModule() ? "module" : "channel", component->getFullPath().c_str(), stage);
 }
 
 void Cmdenv::signalHandler(int signum)
 {
     if (signum == SIGINT || signum == SIGTERM)
         sigint_received = true;
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000552)
andras (administrator)
2011-09-14 12:48

Condition changed to:

  if (!opt_expressmode && opt_eventbanners && component->isEvEnabled())

which is the same as for printing event banners. Corresponds to the following
config options: cmdenv-express-mode, cmdenv-event-banners, **.cmdenv-ev-output

- Issue History
Date Modified Username Field Change
2011-05-31 17:08 jesjones New Issue
2011-09-14 12:48 andras Note Added: 0000552
2011-09-14 12:48 andras Status new => resolved
2011-09-14 12:48 andras Fixed in Version => 4.2
2011-09-14 12:48 andras Resolution open => fixed
2011-09-14 12:48 andras Assigned To => andras


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker