certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] CERTI deadlock


From: Eric Noulard
Subject: Re: [certi-dev] CERTI deadlock
Date: Fri, 15 Jun 2012 08:42:11 +0200

2012/6/15 Michael Raab <address@hidden>:
> I think it may help to forward all RTIA output messages to a certain log
> file. I tried the following:
>
> // redirect std::out and std::cerr to file
>
> // get process id
> DWORD pid = GetCurrentProcessId();
> stringstream outfilename;
> outfilename << "d:\\rtia_" << pid << ".log";
>
> ofstream logfile;
> logfile.open (outfilename.str().c_str());
>
> cout.rdbuf(logfile.rdbuf());
> cerr.rdbuf(logfile.rdbuf());
>
> But unfortunately nothing seems to be dropped to this file.
> May be its because the PrettyDebug code has the following static var:
> std::ostream PrettyDebug::_defaultOutputStream(std::cerr.rdbuf());
> Is it somehow already possible to redirect the output?

I'm just coming back from a 4 days trips
"off network"

I'll try to help you out in a couple of hour.

Just to be sure, we have a bug concerning Zero-Lookahead deadlock:
https://savannah.nongnu.org/bugs/?34922

but in your case all federate do have non-zerol LK right?
-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]