Ogre Version: 1.12.12
There is so much debugging info in the console that it's hard to put my own printf's and find them between all those lines.
How can I disable it? I tried How to disable console logging? but I'm using the example from tutorial where I use getRoot() instead of 'new Root()'. I don't know where to put it.
[Solved] How to disable console logging
-
- Gnoblar
- Posts: 6
- Joined: Mon Aug 09, 2021 2:13 pm
[Solved] How to disable console logging
Last edited by odpad on Sun Aug 22, 2021 7:48 pm, edited 1 time in total.
- sercero
- Bronze Sponsor
- Posts: 449
- Joined: Sun Jan 18, 2015 4:20 pm
- Location: Buenos Aires, Argentina
- x 156
Re: How to disable console logging
Hello, the code below would show only critical errors:
If that is not satisfactory and you want to eliminate all logging as indicated in the thread you referenced, then you need to search your code where new Ogre::Root() is located.
Code: Select all
Ogre::LogManager::getSingletonPtr()->setMinLogLevel(Ogre::LML_CRITICAL);
-
- Gnoblar
- Posts: 6
- Joined: Mon Aug 09, 2021 2:13 pm
Re: How to disable console logging
That reduced the log a lot, thanks. But still I guess I have to find another method of initializing Ogre (different from tutorial).