Disable logging of specific endpoints
Hi @chriskapp , Is there a way to disable logging for specific routes. We have AWS Load balancer hitting the server for health checks very regularly and it is filling up logs and analytics with spam. Is there a way to disable the logging on a route?
Thanks
Hi, so currently we have no explicit feature to disable logging for a route, since the dashboard etc. depends on the logging but we have a command s. php ./bin/fusio system:log_rotate which moves different entries to an archive table which then makes the system faster. In general logging is also only a middleware s. src/Controller/SchemaApiController.php:131 so we could easily disable it based on a config flag but so far the log_rotate command has worked for those use cases, since otherwise all dashboard an analytics pages would have no data.