#does anyone know if there s a way to
1 messages · Page 1 of 1 (latest)
you can use dagger.WithLogOutput with the dagger client to parse logs as a stream. Here is an example https://github.com/aweris/gale/blob/43511f612c9b7978568b045c12354d0f11c4e5dd/ghx/dagger.go#L13-L45
but this is async and client level, not easy to isolate container level.
https://github.com/aweris/gale/tree/43511f612c9b7978568b045c12354d0f11c4e5dd/ghx/journal you can check logic here how I parse. i got it from dagger repo and adapted it