Debian 12 has moved the syslog to journalctl. So just run below command and you will be greeted with the logs running through the screen.
journalctl -f
If you want to check the logs from for example apache:
journalctl -u apache2.service
If you want to format the logs as json, just append o json-pretty