Inno Setup log entries - prevent logging dll function import

62 views
Skip to first unread message

Norbert Wietschorke

unread,
May 4, 2023, 1:27:43 PM5/4/23
to inno...@googlegroups.com
Hi,


the log file gets filled for each dll import with several messages:

2023-05-04 17:38:24.663   -- DLL function import --
2023-05-04 17:38:24.663   Function name: GetLastError
2023-05-04 17:38:24.663   DLL name: kernel32.dll
2023-05-04 17:38:24.663   Dest DLL name: kernel32.dll
2023-05-04 17:38:24.663   Importing the DLL function.
2023-05-04 17:38:24.663   Successfully imported the DLL function. Delay
loaded? No

Didn't find a way to turn this off yet.

Any suggestions?

--
Grüße/Regards
Norbert

Bill Stewart

unread,
Aug 23, 2023, 11:15:37 AM8/23/23
to innosetup
On Thursday, May 4, 2023 at 11:27:43 AM UTC-6 Norbert Wietschorke wrote:

Hi,

the log file gets filled for each dll import with several messages:

2023-05-04 17:38:24.663   -- DLL function import --
2023-05-04 17:38:24.663   Function name: GetLastError
2023-05-04 17:38:24.663   DLL name: kernel32.dll
2023-05-04 17:38:24.663   Dest DLL name: kernel32.dll
2023-05-04 17:38:24.663   Importing the DLL function.
2023-05-04 17:38:24.663   Successfully imported the DLL function. Delay
loaded? No


This is by design.
 
Didn't find a way to turn this off yet.

That's because there's currently no way to disable those log entries.
 
Any suggestions?

My recommendation is simply to ignore those log entries. Remember that the logging information is for diagnostic purposes. I would think you would need a very compelling reason for the IS developers to devote sufficient time/resources to add the ability to prevent logging of those if there's no real benefit.

Bill
Reply all
Reply to author
Forward
0 new messages