Araik Grigoryan
09/03/2022, 1:15 AMkwmiebach
09/03/2022, 2:26 PMAraik Grigoryan
09/03/2022, 2:46 PMkwmiebach
09/03/2022, 3:15 PMAraik Grigoryan
09/04/2022, 2:29 PMINFO
log level, whereas a real external program will have messages with a variety of log levels. So one has to do some extra work by parsing each of the `decoded_line`s to match external program’s log level with Prefect’s log level. This is the kind of thing that I would expect Prefect to do out of the box. Thank you for the suggestion. I hope this helps someone in the future.kwmiebach
09/06/2022, 10:27 AMERROR
. If the java program has a list what the codes mean you could include the meaning in the log. And maybe your java program does not only write to stdout
but also to stderr
. After some modifcation in the python code you could also capture stderr
in the python code and write the output, if any, to prefect as ERROR.