How to prevent a Delphi application to create a GLScene log file at startup?

My delphi application creates the following .log file at startup:

0    (I)    Thread ID 6168  Log subsystem started in elapsed time mode.
0    (I)    Thread ID 4620  Service thread started
312  (i)    Thread ID 4620  Temporary rendering context created
312  (I)    Thread ID 4620  Getting OpenGL entry points and extension
...

Where is it controlled?

+3
source share
2 answers

Check GLScene.inc for

// Activate Logging
{$DEFINE GLS_LOGGING}

To disable logging, you need to comment on what define

// Activate Logging
{.$DEFINE GLS_LOGGING}
+13
source

Yes, this is GLScene recording. You can disable it by making sure that the condition is GLS_LOGGINGnot defined in your file GLScene.inc.

+2
source

All Articles