Write the Job execution steps to a Text file in TOS 7.3 - talend

I want to write to whole execution process of a Job to a text file in Talend Open Studio 7.3 because in Enterprise edition it is already logged but I am not sure where to find the execution log in Talend Open Studio
so I had thought of writing the execution of the job to a Text file
Can anyone please guide me how to do it

Please follow below process to get the logs of the job in a file.
Select the job
Select Stats & Logs in the left pannel of the same window
Uncheck Use Project Settings if checked
Select the type of log you need (tStatCatcher/ tLogCatcher/tFlowMeterCatcher). You can select all three as well
Provide path of the file and file names
If you need detailed logs, you can also have tJava and customize your logs and direct it to a file

Related

Need help on publishing xml report with the plugin parasoft findings in TeamCity

I added a build step for my project in teamcity which consists on using the plugin Parasoft Findings to publish an XML report of all the code violations. the problem is that teamcity is failing to parse XML report. It says there is an unexpected report format and to see log (which I couldn't find).
I already checked the report location pattern which is right. I don't use SOAtest but C++ test so I only put "Parasof analyzers 10.x" for the report type
I'm sorry but you did not provide any additional details regarding your question and it's hard to help you.
Please, provide:
error message
your configuration of build step and version of TeamCity and C++test
command line used to start C++test ( if you are using variables,
replace variables with real values used in your run)
By log I think, you should check your build step log, and provide us the right content.
You can find such logs on two different ways:
You can download it by clicking "Download full build log" on build
log page (Recommended).
Try to find the raw output from the build agent by looking in the
agents logs directory, for example in
c:\TeamCity_dir_agent\logs\teamcity-build.log
Following article from JetBrains' TeamCity manual might good point to start
Edit:
Parasoft updated the plugin which fixed the issue:
https://plugins.jetbrains.com/plugin/9949-parasoft-findings
I have the same issue. Error messages in build log:
Unexpected report format: <path-to>\report.xml. See log for details.
Failed to parse XML report
Failed to parse XML report
Step test results (Parasoft Findings) failed
teamcity-agent.log and teamcity-build.log are having no entries within this build step because there is no piece of code which would write that into during this error case.
Edit/Workaround:
In the report the node <ExecutedTestsDetails> must be below the node <Exec>. The node still has the right indendation but it is at the same level as <Exec>. The xsl of TeamCity Plugin works perfectly if you fix the report xml manually.
To make it work you can add the Build Feature "File Content Replacer" like that:
Regex: (?s)(<ExecutedTestsDetails.*?<\/ExecutedTestsDetails>).*?(<Exec.*?>)
Replace with: $2 $1

Edit job outside of talend studio

i have a big job defined in talend studio. It works
well. But now I have to make another job with only
some changes in prefixes in sqlrequests as destination
tables.
My plan was to export the job and edit the job in my
emacs editor and use the easy way to find and replace
the prefix and reimport this job in talend with another
name. I tried it. But talend studio shows me a dialog
with invalid job message.
Is it possible in general to edit jobfiles (jobname.item and jobname.properties) utside of talend studio and reimport it?
Or are there issues and mechanism in talend which prevent this
way like protect jobfiles with hashes and so on?
thanks
It is possible to edit an item file, but risky.
I advise you to duplicate your big job in Talend Studio, copy the content of the item file from your big job and paste it into the new one with the correction.

Mimic local history in Eclipse within Talend

Eclipse IDE has feature that captures log of modified files as a local history. Is this possible to mimic in Talend Studio? i.e. I change job then I save and run job. Two minutes later I change job then I save and run job. Can I revert to previously saved jobs from two minutes ago?
If i understand your question correctly your asking about version control which Talend has.
Simply before each run of your job go to File > Save as then on the dialog box that appears hit the M , or m button (Major or Minor version) then hit finish.
After you have re-versioned the job you can right click on the job in the repository view and click open another version.
The paid version using Github/TAC stores a copy of the code for each run depending on configuration.

How to change the log level properties in Talend open studio 7.1.1

I am Trying to set the log level for my Data Integration job in Talend studio version 7.1.1 to "Warn". Looks like the option is no longer available in Run --> Advanced Settings. How do I change log levels in talend 7.1.1? Please clarify. Thanks
Try looking under File, Project settings, Log4j. You should be able to customise the level of the logs there.

Using deployment tool from command window

Currently I am developing a solution that requires interaction with external software. As a result I can only properly test it after I build the solution as a dll file.
Currently I take these steps
type 'deploytool' (to open the deployment tool)
click the button 'open project'
Find and select the project that I want to open (always in the same location with the same name but apparently matlab does not remember this)
Click the build button
Currently I do this several times per day and it is really simple, but simply annoying.
Therefore I hope that someone can give me a way to automate step 2-4, perhaps using a script?
If this is not possible I would also appreciate a way to change the default opening folder for the deployment tool.
help deploytool says you can specify the projectname and build option as a second argument:
deploytool -build projectname