Comments (3)
Hi,
I can't recreate this issue. Seems to me like you are running into an error before that switch function is called? Also is: stack set as the LOG_CHANNEL in your .env file?
Here is a test I just did, tried to follow your example as close as I could:
from laravel-log-to-db.
i found the question :
php artisan queue:work do not work
php artisan queue:work --queue=logQueue is work \Log::error() can write to mysql
from laravel-log-to-db.
Ah yes, I'm glad you figured it out 👍
Let me know if you have any other questions :)
Take care!
from laravel-log-to-db.
Related Issues (20)
- "Cleanup" functions not working when using mongoDB HOT 1
- Add Console command for log pruning
- Observers are not working HOT 5
- Array to string conversion on error logging HOT 4
- Add Lumen support HOT 2
- Laravel 7: Throwable HOT 3
- Laravel 6. Serialization of 'Closure' is not allowed HOT 2
- Log Cleaner does not read collection setting HOT 3
- Internal migration HOT 6
- Does not work correctly with Laravel Octane HOT 3
- Url issue HOT 1
- If queue or database is unavailable, emergency logging should be used HOT 3
- Wrong method check HOT 1
- Use database loging as optional? HOT 3
- getContextAttribute requires a value HOT 2
- Error on Lumen 9.1.2 and PHP 8.1 HOT 3
- Compatibility with Laravel 10.x and Monolog 3.x HOT 2
- Infinite circular log writes on database exception inside the job HOT 2
- Release for Laravel 11 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-log-to-db.