How to prevent Delphi application to create GLScene log file on startup?
-
08-06-2021 - |
Вопрос
My delphi application creates the following .log file on 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?
Решение
Check GLScene.inc for
// Activate Logging
{$DEFINE GLS_LOGGING}
To switch logging off you have to comment out that define
// Activate Logging
{.$DEFINE GLS_LOGGING}
Другие советы
Yes, this is GLScene doing the logging. You can disable it by making sure that the GLS_LOGGING
conditional is not defined in your GLScene.inc
file.
Не связан с StackOverflow