Daniel Komisar
12/14/2021, 7:51 PMKevin Kho
Daniel Komisar
12/14/2021, 7:55 PMlogger("Line1")
logger("Line2")
and the log is
Line2
Line1
Daniel Komisar
12/14/2021, 7:56 PMKevin Kho
Daniel Komisar
12/14/2021, 7:56 PMKevin Kho
Daniel Komisar
12/14/2021, 7:58 PMKevin Kho
Daniel Komisar
12/14/2021, 8:01 PMDaniel Komisar
12/14/2021, 8:03 PMKevin Kho
Daniel Komisar
12/14/2021, 8:11 PMDaniel Komisar
12/14/2021, 8:31 PMKevin Kho
Daniel Komisar
12/14/2021, 8:36 PMDaniel Komisar
12/14/2021, 8:37 PMKevin Kho
Daniel Komisar
12/14/2021, 8:39 PMKevin Kho
{
"id": "fc715146-435b-4ff3-96f8-cec1dc017a67",
"message": "Task 'test[1]': Finished task run for task with final state: 'Failed'",
"timestamp": "2021-12-14T20:16:06.028796+00:00",
"name": "prefect.CloudTaskRunner"
},
I don’t see a place you can stick an identifier unless it’s in the messageDaniel Komisar
12/14/2021, 8:40 PMKevin Kho
Daniel Komisar
12/14/2021, 8:41 PMKevin Kho
Daniel Komisar
12/14/2021, 8:42 PMKevin Kho
info
or object_id
to hold metadata. Will get back to you when i get a responseDaniel Komisar
12/14/2021, 8:43 PMinfo
. The prefect cli doesn’t use this correctly (or maybe I’m on an old version). prefect cli seems to think info
is a bool, but in the current api it has a parameter. Whatever that does it may be useful to us. The prodcut I’m working on is a software build system, so logs are very important.Daniel Komisar
12/14/2021, 8:44 PMKevin Kho
object_id
is the object id associated with a log, use for audit log tracking. info
appears to be an arbitrary json blob with some additional information about the log.Kevin Kho