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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Logging with log level

Hi All,
In one of my jobs, i am trying to capture the logs based on log level.
Is there any component in TOS for the same.
Currently i am using tAssertCatcher, which doesn't support the above.
Please provide your suggestions.
Regards,
Sam
Labels (2)
9 Replies
Anonymous
Not applicable
Author

Hi,
I think the component tLogCatcher can meet your needs.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
Thanks for your quick reply.
But how do i do it at the job level, as in what i want to do is, i wanna create a single job that has the flexibilty to generate the logs based on what ever job level i set before the execution.
Say for example, I have to create a single job that can run in dev env with log level as info etc & the same job can be run in prod with job level error, just by changing the level at one place.
Regards,
Sam
Anonymous
Not applicable
Author

Hi Sam
You can use the tLog4j components, tLog4j are custom components developed by our community user and shared on Talend Exchange, you can download tLog4j components and example job from Talend Exchage, read the below link to learn how to install custom component into Talend Studio.
https://help.talend.com/search/all?query=Installing+a+custom+component&content-lang=en

Shong
Anonymous
Not applicable
Author

Hi Shong,
Thanks for your reply. I have started on this.
Need one more help,
I have a scenario, where in when a job is completed, i need to write a success log.
When the next time it is executed the success log should get appended.
How do i do this?
Regards.,
Sam
Anonymous
Not applicable
Author

Hi Shong,
Thanks for your reply. I have started on this.
Need one more help,
I have a scenario, where in when a job is completed, i need to write a success log.
When the next time it is executed the success log should get appended.
How do i do this?
Regards.,
Sam

Check the option 'append' on tFileOutputxxx component which is used for logging.
Shong
premchandkar
Contributor
Contributor

Hi Shong,
i am trying to download the custom components from  https://exchange.talend.com/ with my credentials but its showing the below error after login to the given link
0683p000009MDx2.png
Can you please help me on this 
Thanks,
Premchand
Anonymous
Not applicable
Author

Hi  Premchand,
Could you please try to use other browsers to see if it works? We can login talend exchange portal successfully without error from our side.
Best regards
Sabrina
premchandkar
Contributor
Contributor

Hi Sabrina,
I tried with multiple browser but getting the same issue.
Is there any other way to download or to resolve that issue ?
Thanks,
Premchand
Anonymous
Not applicable
Author

Hi  Premchand,
Have you tried to clear your browser's cookies?
Which custom component do you want to download? Can you successfully install a custom component from talend studio?
Best regards
Sabrina