Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Saturn logger configuration #43

Closed
4 of 5 tasks
lidel opened this issue Feb 17, 2023 · 0 comments · Fixed by #55
Closed
4 of 5 tasks

Update Saturn logger configuration #43

lidel opened this issue Feb 17, 2023 · 0 comments · Fixed by #55
Milestone

Comments

@lidel
Copy link
Member

lidel commented Feb 17, 2023

Extracting tasks fro bifrost-gateway from:
https://www.notion.so/pl-strflt/Saturn-Payments-Logging-8db8d7b691a9471aaf786947a6b8b0a6

Changes requested by Saturn:

  • change default endpoint to https://logs.strn.network (HTTP POST), make it implicit (remove from CLI, but allow override via ENV STRN_LOGGER_URL)
  • read logger token via ENV STRN_LOGGER_URL – confirmed this convention with George
  • switch to latest caboose version
  • create separate http client for log reporting, and add secret token to every log report (Authorization: Bearer <base64_jwt>) – see how here: Set JWT token on Saturn Logging client and config the correct logging endpoints #51 (comment)
  • dont break local dev: send logs only when secret token is present, support local dev without it, or figure out how devs can get tokens if they are mandatory for caboose to operate correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants