Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Add a logging service #118

Open
Wobbley opened this issue Jun 7, 2023 · 2 comments
Open

Add a logging service #118

Wobbley opened this issue Jun 7, 2023 · 2 comments
Assignees

Comments

@Wobbley
Copy link
Collaborator

Wobbley commented Jun 7, 2023

Currently the loadout branch fails to share builds when deployed, but we have no real logs. Going to add a logging service to sveltekit since Cloudflare does not seem to work very well for logs.

Probably trying Sentry first.

@Wobbley Wobbley self-assigned this Jun 7, 2023
@Wobbley
Copy link
Collaborator Author

Wobbley commented Jun 8, 2023

I hit an issue here where Sentry + Cloudflare + Sveltekit does not seem to work for Pages. So that's bad news. Going to wait a bit more and see if someone comments on the issue posted here: getsentry/sentry-javascript#8291

If not I am going to just look at adding logtail to hooks in Sveltekit.

@Wobbley
Copy link
Collaborator Author

Wobbley commented Jun 9, 2023

Giving up on this for now primarily due to Cloudflare Workers not supporting NodeJS built in libraries. Most of these libraries use it in one form or the other:

More info here: https://developers.cloudflare.com/workers/runtime-apis/nodejs/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant