Replies: 1 comment
-
Typically soon as I post I find whats happening but it still seems like a bug... I have this in the AppServiceProvider: ray()->label('Duplicate query detected')->orange()->showDuplicateQueries(); But the query that's logged isnt a duplicate and isnt labeled or coloured orange. However, when I comment this line out the logging stops. Possible bug perhaps. The scheduled job causing the logging is running from the scheduler every 10 seconds. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
Whenever I run scheduled tasks any DB queries are automatically logged to Ray. When you have sub-minute schedules that can get pretty distracting.
I havent enabled query logging and it doesnt happen when I generally browse or use the app. Seemingly only from background tasks. Its possibly also happening from queued tasks too.
Is this a bug or is there a setting to disable this?
Ive checked the docs and have checked my config (I dont have the ray config published and the defaults are NOT to log queries). Also I have no env values which would override these settings.
Any ideas?
Thanks
Lee
Beta Was this translation helpful? Give feedback.
All reactions