Stuart Buchanan a écrit : > Hi All, > > One of the frustrations of using Windows for development is the lack of a > sensible way to re-direct stderr to a file. This is particularly annoying if > you > want to use a --log-level=debug. > > To fix this, I've changed the global_logstream to use stdout for windows only. >
Is there a reason why we shouldn't do that for unix too ? is stdout used for something else than logging ? > The patch below does this. > > If someone could test that this doesn't mess up *nix, and commit it, that > would > be great. > If we can avoid #ifdef, it's better isn't it ? -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel