Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tRESTClient logs missing while running job from bash script

I have exported a job contains tRESTClient with checked print log option. The job works fine while running from Talend Studio printing all the logs required. But while running the exported job through command line on the terminal, the request and response logs for tRESTClient are missing. It just prints stdout and stderr streams. Seems like these component logs are not acting as stdouts for the talend jobs. How can i fix this?
Thank you!
Labels (4)
8 Replies
Anonymous
Not applicable
Author

Hi
Which version are you using? I tested this issue with v5.5.1 and I can see the log message when the job is executed through command terminal.
Best regards
Shong
Anonymous
Not applicable
Author

I'm also using TOS for Data Integration version 5.5.1.
The trouble is only with the tRESTClient request and response logs. All other logs are getting printed. Is there anything other i've to do except checking the print logs option in tRESTClient settings?
Anonymous
Not applicable
Author

Hi 
I can see the request and response logs are getting printed when the job is executed from the command terminal, see image:
0683p000009MBrI.png 
Best regards
Shong
Anonymous
Not applicable
Author

Hi Shong,
Here is the snapshot of my terminal, you can see the log4j warnings i'm getting here. But i'm getting the same warnings when i run the job from TOS, still the logs were printing in the TOS but not here on terminal. How should i get rid of these warnings? I think it is responsible for the problem i'm facing.

Thanks!
Anonymous
Not applicable
Author

Seems like my image is not getting upload.
0683p000009MBrN.png
Anonymous
Not applicable
Author

Hi 
Have you activated the log4j feature in Talend Studio? Can you show me a screenshot of your job and the log message printed on the console when you execute the job in studio?
Best regards
Shong
Anonymous
Not applicable
Author

Hi Shong, logs are getting printed in TOS.
0683p000009MBrS.png
Anonymous
Not applicable
Author