GitHub user dave-csc added a comment to the discussion: Catch the full (or 
partial) log with "Workflow log" mechanism

Hi @bellumic,

I currently don't use Docker for my deployments, it would add a layer of 
complexity without adding much value (since all the remaining resources - 
files, database, REST API, etc. - must be "ported" into the container somehow). 
My deployment server is actually a Git-based replica of the development client.

You probably want to check if you have configured Hop correctly to get the logs 
saved. You need to configure a **Workflow log** metadata (in the Metadata 
perspective), mine is configured as follows:
- the flag **Enabled** is on
- **Pipeline executed to capture logging**: use the full path of your logging 
pipeline. You'll probably need to enter them from the Docker perspective (i.e. 
the _right_ part of the `-v` flag), rather than the local perspective (the 
_left_ part)
- check the flag **Execute at the end of the workflow**, uncheck the other two 
(start and during): this is because you will get only the complete log at the 
end, rather than a starter or incremental one
- **Capture output of the following workflows**: I set this to 
`${PROJECT_HOME}/main.hwf`. This way you just need to name the main workflow 
`main.hwf` in any of your projects (even new ones), and you'll get the logging 
platform "for free"

Hope this helps :)

GitHub link: 
https://github.com/apache/hop/discussions/4968#discussioncomment-12376538

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to