Hi,
I want to log everything my talend job does.
When running my job within talend I can see on the gui where the flow currently is, what its doing and it shows whether a flow was true, false, ok or error.
When deploying the executables of my job to a server and running it automated there I do not geht this information any more.
Of course I am able to do logs at several points but I dont want to create a log componenten after each single working-component, thats too much overhead.
Of course I could catch errors, but in my case the problem is, the process does not end its only reproducable on deployment not local with my open studio.
Thats why I want to catch as much information about all components and subjobs as possible.
We often get the case to have a look at any unknown behavior and it were much more comfortable to have A big log to look after.
Is there a way to get a predefined all logging-log like I am looking for?
Any suggestions else for easily creating something like this? (it mus be then a generic solution, not like creat a log componentent after every single working-component).
Thanks in advance.
In every component Advanced setting select
tStatCatcher Statistic option and use tStatCatcher component at the last
Please look attached screenshot for reference
Hi, Talend provides three types of logs to be catched using different components - Statistics - Error/warning - Meter You can enable these logging at project level or at job level. All the logs could be redirected to the file or database. Even after doing these logging, you can't catch complete trace information available on console. In order to catch this information, you will have to use different technique to redirect consol trace information to flat file or database. Vaibhav
Hey,
unfortunately the talend documentation seem to expect several prio knowledge.
In your linked documentation it says: "Select the
Use Statistics,
Use Logs and
Use Volumetrics check boxes where relevant, to select the type of log information you want to set the path for."
Well I do not know which checkbox now is relevant and what effect it then will have.
Because of this I simple tested it: I hit the Checkbox for statistics, but console log doesnt change. Even the checkbox to use component-statistics wont make any change, no additionally logs.
Only when hitting the checkbox for component-statistics at every single component (in combination with component-statistic checkbox at job-level) will creat logs which indicates start and end of the specific component.
Well so I dont know what non-components-statistic-checkbox on job-level does, but it were great if it would just do what hitting every single components-checkbox does.
I could imagine that the non-components-statistic-checkbox on job-level would just catch all statistics caught by tStatCatcherbut if it were like this I would expect such a hint in documention on
TalendHelpCentertats & Logs.
I now will make the setting at every component but this is not comfortable ob many and large mappings. Is there may a way to batch-activate thos checkboxes for all components?
Thanks for replies.
Hi,
Projecting setting
Stats & Logs is working on my side without checking out any component-statistics at every single component.
Could you please indicate the build version you are using?
Best regards
Sabrina
@xdshi: Is there a way to get detail level logs of a job into a file. I want to see the number of records processed or the record and reason why it failed. Can I capture console level logs into a txt file?
I am triggering my job in a Linux server by a script.
Hello, Is there an solution? I am also searching for a solution to get my job status and description. If there is any solution can you please share? Thanks