so now i redirected the cout stream to a file but the file is empty after executing my programm. i also directed the output of printf to the file but the file is stil empty!
All of the log messages are sent to the user event receiver. It just needs to respond to log text events.
There are issues with the way that the Irrlicht library is built that can cause problems redirecting stdout/stderr. I can explain in greater detail if necessary.