For drupal 9, you can access to your logs with drush , here some commands:
- watchdog:delete (wd-del, wd-delete, wd) Delete watchdog log records.
- watchdog:list (wd-list) Interactively filter the watchdog message listing.
- watchdog:show (wd-show, ws) Show watchdog messages.
- watchdog:show-one (wd-one) Show one log record by ID.
- watchdog:tail (wd-tail, wt) Tail watchdog messages.
One more thing if your are not fan with commands, please in the Administrative menu, go to Reports > Recent log messages. On this page is a list of recent log messages which you can filter by type and severity.
but if your are professional you can configure ELK that's will give you all