You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hello
My application in a directory see if I come some files. 6 and are expected to come if I come to report that not all files. This need excribirlo in a log file.
How I can do this?
I do
tFilelist ----------iterate------>tjava
I find that I have in tjava all files. then not as indicating that the number of files is not what I expected
Best regards,
Oscar Manso
Offline

Hi
You can add a run-if trigger after tJava.
tFileList--Iterate-->tJava--Run-if-->tWarn
Then use tLogCatcher to record the error into log file.
tLogCatcher--main-->tFileOutputDelimited
Regards,
Pedro
Offline

hi
The problem is that in the tjava I have more than one error that I must send a log. This log can be the use logCatcher or a personal
I had thought to save the errors as a arrayList in GlobalMap and then written ont line by error to a log file created by me.
Is this possible?
if possible, as is done
Regard
Oscar Manso
Offline

Hi Oscar
I don't think this is an easy way.
If you put errors into arrayList, how do you pass them into tFileOutputDelimited?
You have to code too much.
I think saving all these errors into one context variable is more simple.
Use semicolon ';' to split errors.
Regards,
Pedro
Offline
Pages: 1