如何防止Delphi应用程序在启动时创建GLScene日志文件?

Yur*_*ora 3 delphi glscene delphi-xe2

我的delphi应用程序在启动时创建以下.log文件:

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
...
Run Code Online (Sandbox Code Playgroud)

它在哪里受到控制?

Uwe*_*abe 13

检查GLScene.inc

// Activate Logging
{$DEFINE GLS_LOGGING}
Run Code Online (Sandbox Code Playgroud)

要关闭注销,您必须注释掉该定义

// Activate Logging
{.$DEFINE GLS_LOGGING}
Run Code Online (Sandbox Code Playgroud)