mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
The realtimeLogger registry was a ~40-line copy of logger; extract the DSN -> adapter -> Logger construction into one $createLogger closure used by both. realtimeLogger now just resolves _APP_LOGGING_CONFIG_REALTIME (falling back to _APP_LOGGING_CONFIG), skips Sentry — those errors go out as spans via app/init/realtime/span.php — and delegates the rest. Cross-referenced the two "sentry" conditions in both files. No behavior change (legacy ;-delimited config no longer crashes the realtime registry; it disables logging like the main one).