T
T
Tarrissarh2018-04-06 18:27:58
Message Queues
Tarrissarh, 2018-04-06 18:27:58

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

2 answer(s)
T
Tarrissarh, 2018-04-09
@Tarrissarh

The question is closed, in the supervisor's config it was necessary to put another user

A
Alexander Aksentiev, 2018-04-06
@Sanasol

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 question

Ask a Question

731 491 924 answers to any question