What I've tried so far in the Startup TCL Script is:
FME_LogMessage fme_inform {FME_MacroValues(inputParameter)}
This was really just a stab in the dark, and didn't return what I was hoping for.
What I've tried so far in the Startup TCL Script is:
FME_LogMessage fme_inform {FME_MacroValues(inputParameter)}
This was really just a stab in the dark, and didn't return what I was hoping for.
I've never made the effort to learn TCL, so I can't help you there, unfortunately. If it can help, equivalent in Python would be
fmeobjects.FMELogFile().logMessageString("MyPublishedParameter is: " + FME_MacroValuesl"MyPublishedParameter"], fmeobjects.FME_INFORM)
As I see it, there are currently three issues with outputting the published parameters to the log:
My solution for QC-based logs have so far been to use a Python shutdown script to write a custom log file containing the published parameters and the number of features read and written. The list of the values passed to FME_MacroValues has to be hard-coded into the script, though, so that only the relevant parameters are echoed.
Hopefully this can give you some ideas.
David
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.