[Solved] Deactivating log messages for ogre? Topic is solved

Problems building or running the engine, queries about how to use features etc.
Post Reply
danielspengler99
Gnoblar
Posts: 16
Joined: Mon Oct 16, 2017 1:47 am
x 2

[Solved] Deactivating log messages for ogre?

Post by danielspengler99 »

Hello together!

I am slowly getting further in the ogre tutorials. I finally made it to build the code from setting up ogre, which displays just a Sinbat.

Now I see that the program needs very very long to display this mesh. I think it needs this long because ogre is writing many many log entries.

Is there any way to turn of this logs so the program runs much faster?

Currently the program takes somewhere around 2 minutes to load.

Please let me know, if there is a way to disable this messages.

I am building already on release mode!

Regards,
Daniel
Last edited by danielspengler99 on Tue Oct 17, 2017 3:48 pm, edited 1 time in total.
danielspengler99
Gnoblar
Posts: 16
Joined: Mon Oct 16, 2017 1:47 am
x 2

Re: Deactivating log messages for ogre?

Post by danielspengler99 »

I solved the problem in the setup method.

I just had to put the following line:
Ogre::LogManager::getSingleton().setLogDetail(Ogre::LL_LOW);

Thank you for the help!
Post Reply