Closed aniket-magadum closed 3 years ago
Can somebody guide me through this. Or should I put in some more description to the problem? Eagerly waiting for a reply :-)
What happens I you set send_log_calls_to_ray
in the config file to false
?
Ok, I will put all my observations here about the problems I am facing. Firstly this issue mentioned here. I have set send_dumps_to_ray to false as show below but still whenever I do a dd it is sending it to ray
'send_dumps_to_ray' => false,
Here is the code block
Output in ray
What happens I you set
send_log_calls_to_ray
in the config file tofalse
?
When I do this
'send_log_calls_to_ray' => env('SEND_LOG_CALLS_TO_RAY', false),
It does not log to ray
But when I set this to true its logs into ray so this is working as expected.
Log::info('Inside log function');
@freekmurze Please let me know if you need anything else to be done at my end. I want to know If I can disable exception logging altogether in ray?
I want to know If I can disable exception logging altogether in ray?
Does this work for you?
'send_exceptions_to_ray' => false,
I can reproduce the dump issue: https://github.com/spatie/laravel-ray/pull/189 We'll look into it.
Does this work for you?
'send_exceptions_to_ray' => false,
Yeah, this works for me. Not sure if it's intentional but this is not documented here
Anyways I will wait for the dump fix.
Dumps can be disabled in the latest release (1.17.3)
I think this solves the last part of your problem, so I'm closing this one.
I have created a ray.php in my project root and made some changes as below to the file
But still, when I do a dd it's getting logged into Ray and also all exceptions are getting logged into ray how can I disable this. As it is not working for me
Versions Ray version (you can see this in "About Ray"): 1.14.7.0
PHP version: 8.0.3 Laravel version: v8.36.1
Desktop (please complete the following information):