-
Notifications
You must be signed in to change notification settings - Fork 391
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
Excessive Queue job logged when use with batch import of large amount of data (#846) #884
Comments
Did you try laravel-auditing/config/audit.php Line 169 in 66498a9
|
Okay I have just applied the settings. Didn't realise when upgrading. The feature is also causing Out of Memory issue as such:
Will see if this fixes the issues. Thanks! |
|
Actual Behaviour
When using Supervisor to manage process queues and job logging, and Laravel Excel package to import large amount of data to the database, a high amount of logging been produced from the Queue Auditing:
I believe this issue happened due to a recently added Queue Auditing feature from PR:#846.
Expected Behaviour
I understand this may not be related to Laravel-Auditing library, but is there any way to disable logging for the above audit listener class by default?
This excessive logging is polluting the actual Queue job processes in the Supervisor's
stdout_logfile
file, making it hard to read.Steps to Reproduce
Setup Supervisor to manage Queue processes in Laravel: https://laravel.com/docs/8.x/queues#supervisor-configuration
Create an Laravel-Excel Import class: https://docs.laravel-excel.com/3.1/imports/
Upload an excel file with data to be imported to the database.
Monitor or read the Supervisor
stdout_logfile
file to see the logs.Possible Solutions
Allow audit Listener to be set to 'silent' mode from
config/audit.php
?The text was updated successfully, but these errors were encountered: