Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello i have a route like this in symfony app for health checks in digital ocean load balancer:
/**
* Status page. It is accessible only internally from within the network
*
* @Route("/status", name="index_status", methods={"GET"})
*
* @param Request $request
*
* @return Response
*/
public function statusAction(Request $request): Response
{
return new Response('Happy PDF printing');
}
And my monolog configuration looks like this:
monolog:
handlers:
main:
type: 'fingers_crossed'
channels: ['!security']
action_level: info
excluded_http_codes: [403, 404, {200: ['^/ping(.+)', '^/status(.+)', '^/status?q=%2Fstatus', '^cloud.digitalocean.com/status?q=%2Fstatus']}]
handler: file
file:
type: stream
level: debug
path: "%kernel.logs_dir%/app.log"
formatter: Monolog\Formatter\JsonFormatter
include_stacktraces: true
However i can’t make monolog to not save logs about status requests from load balancer, they are made with request_uri like this http://cloud.digitalocean.com/status?q=%2Fstatus. Any idea if it’s possible to exclude them from symfony app?
1a3ca91ed97c49039b3e74fb7229fa
Lucid12112
PWA-Bazaar
ulope
jediD83
Bobby
500Foods
Vladislav
Jan Misker
Ben Buzbee
Sharif