6 months ago
I am running a laravel project and in my worker service that runs queues a particular job fails, but i can t view the logs or stacktrace for a message on why this fails, this same job runs well on my local and on aws.
6 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
6 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 7 months ago
6 months ago
if you click in your service => deployment => view logs => you have build/deploy/http logs
if in your project you click Logs on top you can see all the logs for that particular project
fra
if you click in your service => deployment => view logs => you have build/deploy/http logsif in your project you click Logs on top you can see all the logs for that particular project
6 months ago
Thank you @fra, yeah i see that, what i am referring is a way to see logs or reason why the queue fails, it dosent show in these places
6 months ago
which queue are you using? in theory if an error is throw you should see some logs, if you can't see any logs I wonder if the job is really failing, without knowing anything about the worker the most simple thing to do it might be to add some logs in order to understand what's happening
fra
which queue are you using? in theory if an error is throw you should see some logs, if you can't see any logs I wonder if the job is really failing, without knowing anything about the worker the most simple thing to do it might be to add some logs in order to understand what's happening
6 months ago
Thanks again for replying, it's mostly queue processes that involve email sending, that fails, i would think there will be a place to see stack trace or something to see why
Attachments
6 months ago
If the worker doesn't write logs I don't think you can see them, one option could be to se if the package used for the queue has an option to print different log levels and maybe try to lower the log level, if there are no option to change the log level then the quickest way would be to add a try catch in the function and log the error...