Anonymous | Login | 2022-05-27 18:44 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000328 | OMNeT++ | simulation kernel | public | 2011-05-31 17:08 | 2011-09-14 12:48 | ||||
Reporter | jesjones | ||||||||
Assigned To | andras | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 4.1 | ||||||||
Target Version | Fixed in Version | 4.2 | |||||||
Summary | 0000328: componentInitBegin is too spammy | ||||||||
Description | Not 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; | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(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 |
![]() |
|||
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 - 2022 MantisBT Team |