diff --git a/internal/display/logs.go b/internal/display/logs.go index 676f5ae3e..e5adf4304 100644 --- a/internal/display/logs.go +++ b/internal/display/logs.go @@ -174,7 +174,9 @@ func (r *Renderer) LogList(logs []*management.Log, ch <-chan []*management.Log, } } }() + + r.Stream(res, viewChan) // streams results for `auth0 logs tail` } - r.Stream(res, viewChan) + r.Results(res) //Includes headers for `auth0 logs list` } diff --git a/test/integration/test-cases.yaml b/test/integration/test-cases.yaml index 3bbb785b5..615a1a34c 100644 --- a/test/integration/test-cases.yaml +++ b/test/integration/test-cases.yaml @@ -10,6 +10,13 @@ tests: auth0 logs list: exit-code: 0 + stdout: + contains: + - TYPE + - DESCRIPTION + - DATE + - CONNECTION + - CLIENT auth0 logs streams list: exit-code: 0