Code: Select all
_CEGUISystem = new CEGUI::System(_ogreCEGUIRenderer);
CEGUI::Logger * log = &CEGUI::Logger::getSingleton();
log->setLogFilename(addOtherRoute("CEGUI.log"));
log->setLoggingLevel(CEGUI::Informative);
However, a CEGUI.log file is created wherever I execute my program with all the information about the creation of the System, after that, a CEGUI.log is created in the route I wanted. I'd like to avoid the first CEGUI.log. What should I do?
Thanks in advance.