Answer the question
In order to leave comments, you need to log in
How to debug queues in laravel?
Created Jobs and tables. On clicking the button, dispatch was launched. Work is running in the supervisor console.
The work handle describes updating data in tables (test).
5, 10 minutes have passed, nothing has changed in the database, nothing is written in the logs.
Can I somehow debug the code in the handle?
How to understand that the processes are running?
Answer the question
In order to leave comments, you need to log in
The question is closed, in the supervisor's config it was necessary to put another user
write logs yourself via Log::debug(), don't you?
If the settings are default from the docks - the logs are in storage/logs/worker.log
If not, then you need to look in the supervisor's config (or whatever your worker is running on).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question