View Full Version : "Variables" don't work in all fields where they are needed
Alexander
27-Nov-2008, 12:59 PM
In the EurekaLog project settings dialog there is an interesting feature called "variables" that allow to insert tags like %_MainModuleVer% that should be substituted with actual values when that string is called.
I tried to use the variables to insert the main module version into the HTTP error reporting URL and the support URL, but it looks that the variables are not processed in that fields. Is it a bug or a missing feature?
admin
05-Dec-2008, 03:23 PM
Hi Alexander,
I think only a missing feature.
I'll provide to add it into the next 6.0.19 version. :)
jlioret
01-Apr-2009, 04:57 PM
Hello Fabio,
new to Eurekalog, I'm trying to find my tuned configuration.
In order to provide email informations, I have tried to put all variables in the body of the sent message. The result is as follow (some variables won't show anything) :
Email body >>>>>>>>>>>>>>
_BugReport: []
_ExceptModuleDesc: []
_ExceptModuleName: []
_ExceptModuleVer: []
_ExceptMsg: [Memory Leak: Total size=3568 - Count=37.]
_LineBreak: [
]
_MainModuleDesc: [MySoftware]
_MainModuleName: [my.exe]
_MainModuleVer: [1.0.0.0]
AllUsersProfile: [C:\ProgramData]
AppData: [C:\Users\MyName\AppData\Roaming]
CD: []
ComputerName: [MyComputer]
Date: []
HomeDrive: [C:]
HomePath: [\Users\MyName]
ProgramFiles: [C:\Program Files]
SystemDrive: [C:]
SystemRoot: [C:\Windows]
Temp: [C:\Users\MYNAME~1\AppData\Local\Temp]
Time: []
Tmp: [C:\Users\MYNAME~1\AppData\Local\Temp]
UserDomain: [local]
UserName: [MyName]
UserProfile: [C:\Users\MyName]
WinDir: [C:\Windows]
<<<<<<<<<<<<<<<<<<<<<
The ones I am most interested in are "Time" and "Date".
I am using EurekaLog 6.0.19 Enterprise on BDS2006.
Thanks for your help.
Jérôme
Alex
02-Apr-2009, 08:00 AM
Hi.
Variables have limited area of action. We are extending them, based on your feedback. I've added your suggestion to our TO-DO list.
As a workaround you can manually modify message body by working with CurrentEurekaLogOptions.EMailMessage (do not forget to add ExceptionLog unit to your uses clause).
Alex
15-Apr-2009, 11:09 AM
Hi.
There is a new RC 4 version available. We've adjusted a bit logic for variables there. Can you check it, please?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.