log-viewer icon indicating copy to clipboard operation
log-viewer copied to clipboard

horizon log format changed

Open malohtie opened this issue 3 years ago • 2 comments

hello it seem that horizon changed the format of logs in latest version

   INFO  Processing jobs from the [default] queue.

  2022-09-17 20:02:54 App\Jobs\AddVisitorLogJob ................ 108.33ms DONE
  2022-09-17 20:02:54 App\Jobs\AddEmailLogJob ................... 21.74ms DONE
  2022-09-17 20:02:54 App\Jobs\AddEmailLogJob ................... 10.04ms DONE
  2022-09-17 20:02:57 App\Jobs\ChangeEmailTypeJob ................ 8.37ms DONE

   INFO  Processing jobs from the [default] queue.

  2022-09-17 20:02:57 App\Jobs\AddVisitorLogJob ................. 95.10ms DONE
  2022-09-17 20:02:57 App\Jobs\AddVisitorLogJob ................. 39.89ms DONE
  2022-09-17 20:02:57 App\Jobs\ChangeEmailTypeJob ............... 15.83ms DONE
  2022-09-17 20:02:57 App\Jobs\AddEmailLogJob ................... 10.97ms DONE
  2022-09-17 20:02:57 App\Jobs\AddEmailLogJob .................... 8.88ms DONE

the result is empty now

image

malohtie avatar Sep 17 '22 19:09 malohtie

@malohtie Ahhh. That's a completely different log format. Any idea when this was released? Do you have a link to Horizon/Laravel release that changed this format?

arukompas avatar Sep 23 '22 12:09 arukompas

@arukompas I believe in this commit a105ae5d14a86c75706cf2e5fa802a215ae60666

See here for queue processing https://github.com/laravel/framework/commit/a105ae5d14a86c75706cf2e5fa802a215ae60666#diff-68b410043fae33c9cecda76c3cf7c54a9073dd08eca46d44cb8d4424fae8dfd8R122

they added termwind into core

malohtie avatar Sep 23 '22 20:09 malohtie

Hey @malohtie , unfortunately, I wasn't able to add support in v2 without breaking changes, so instead the support for the new Horizon logs has been added in Log Viewer v3.

Please see the upgrade guide here - https://log-viewer.opcodes.io/docs/3.x/upgrade

Have a great week!

arukompas avatar Aug 14 '23 05:08 arukompas