PDA

View Full Version : Suppressing default logs


Sjm
01-16-2009, 08:14 AM
Each time we run a custom built TrueUpdateClient.exe, it prints the following log at start up before printing my custom log messages:
==============
[01/16/2009 19:27:42] Success Update started: C:\TrueUpdateClient.exe
[01/16/2009 19:27:42] Notice Update engine version: 3.0.0.0
[01/16/2009 19:27:42] Notice Product: Your Product, version %ProductVer%
[01/16/2009 19:27:42] Success Language set: Primary = 9, Secondary = 1
[01/16/2009 19:27:42] Success Include script: _TU20_Global_Functions.lua
[01/16/2009 19:27:42] Success Run client data event: Client Script
...

===================
%ProductVer% can be manually set in the session variables tab. But I want to to set it dynamically. It can be set dynamically inside the script. but still the above print will not reflect that dynamic value.

Can you suggest a way to reflect the dynamic value in the above print or a way to suppress the above "version %ProductVer%" part of the default log?

Ulrich
01-16-2009, 10:00 AM
%ProductVer% can be manually set in the session variables tab. But I want to to set it dynamically. It can be set dynamically inside the script. but still the above print will not reflect that dynamic value.


This is correct, because the line is written to the log before the first script is loaded and started.

Can you suggest a way to reflect the dynamic value in the above print or a way to suppress the above "version %ProductVer%" part of the default log?

This is currently not possible.

Ulrich

Sjm
01-19-2009, 12:26 AM
Thanks for your reply.