Hi @Renato Salvaleon,
The LogMessageStreamer transformer won't return the first lines in the log file, so your best bet is to add a FeatureReader triggered by a feature close to the end of the workspace. Read the log file as a Text File.
You can get the location of the logfile by concatenating the FME_MF_DIR and FME_MF_NAME parameters, then replacing the '.fmw' at the end with '.log'.
Hi @Renato Salvaleon,
The LogMessageStreamer transformer won't return the first lines in the log file, so your best bet is to add a FeatureReader triggered by a feature close to the end of the workspace. Read the log file as a Text File.
You can get the location of the logfile by concatenating the FME_MF_DIR and FME_MF_NAME parameters, then replacing the '.fmw' at the end with '.log'.
I like that, no need for the shutdown script.
I like that, no need for the shutdown script.
Thanks @daveatsafe, exactly what I needed.
Worked for me. I just have to expose the attribute text_line_data and do some string parsing and I get the results I need.