Closed TUY3 closed 2 years ago
To set the lowest log level, you can add the following lines
hg.SetLogDetailed(False)
(already defined at line 64 of main.py)
hg.SetLogLevel(hg.LL_Normal)
In addition to what Eric suggested, you can redirect the log output to a text file, by editing this file: https://github.com/harfang3d/dogfight-sandbox-hg2/blob/main/start.bat
as follows:
cd source
..\bin\python\python.exe main.py > log.txt
pause
Please note that it's not always a good idea to mute the log of an application :)
To set the lowest log level, you can add the following lines
hg.SetLogDetailed(False)
(already defined at line 64 of main.py)hg.SetLogLevel(hg.LL_Normal)
Thanks!!! I have solved it!
In addition to what Eric suggested, you can redirect the log output to a text file, by editing this file: https://github.com/harfang3d/dogfight-sandbox-hg2/blob/main/start.bat
as follows:
cd source ..\bin\python\python.exe main.py > log.txt pause
Please note that it's not always a good idea to mute the log of an application :)
Thanks!!! I will look at the log sometimes!