Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging Issue #12

Open
trimmytech opened this issue Feb 6, 2021 · 1 comment
Open

Logging Issue #12

trimmytech opened this issue Feb 6, 2021 · 1 comment

Comments

@trimmytech
Copy link

Hello , thanks for this wonderful package . I have issue with the logging, despite creating the QueueServiceProvider in Provider folder and also add it in app.php, i am still getting the logs. is there anything more to do ?

I am using laravel 6.x
Thank you

@JTorres87
Copy link

JTorres87 commented Mar 25, 2021

I ran in to the same issue.

Since queue workers are long lived, any changes to the code do not take effect.
If you are using Laravel Homestead your workers may automatically be running.

To make the code changes take affect simply run:

php artisan queue:restart

Edit:
Just adding documentation as well...

Remember, queue workers are long-lived processes and store the booted application state in memory. As a result, they will not notice changes in your code base after they have been started. So, during your deployment process, be sure to restart your queue workers. In addition, remember that any static state created or modified by your application will not be automatically reset between jobs.

Source: https://laravel.com/docs/6.x/queues#running-the-queue-worker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants