Batch Mode: Logs

Hi,

I will be running WF in batch mode without "-consoleLog" argument (User should not see console log).

But is there any way to save this logs and only display whether WF executed successfully or not to user?

 

Regards,

Nikhil Mane

Any Suggestions?

Any suggestions?

You can use "-data <some-folder>" and it will put the knime.log file there.

Stdout can be redirected via "> /folder/some-file.txt". Standard bash or 
windows batch redirect... (so error redirect works, too).

Best, Iris 

Thanks Iris.

I will check that out !

Hi Iris,

"Stdout can be redirected via "> /folder/some-file.txt". Standard bash or 
windows batch redirect... (so error redirect works, too)".

This does not work as "some-file.txt" is blank.

I think its beacuse after batch file execution, loging happens at knime application.

Regards,

Nikhil Mane

 

 

Is the -data argument documented anywhere else? I don't see it in the FAQ: https://www.knime.com/faq#q12

Is there a command line argument that shows all the command line arguments for the current version?

so if do not specify “-data folder” ,where is the knime.log location?