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

Log isn't pure JSONL; includes some differently formatted "OCSP staple" lines #4133

Closed
drewp opened this issue Apr 25, 2023 · 1 comment · Fixed by #4134
Closed

Log isn't pure JSONL; includes some differently formatted "OCSP staple" lines #4133

drewp opened this issue Apr 25, 2023 · 1 comment · Fixed by #4134

Comments

@drewp
Copy link

drewp commented Apr 25, 2023

What happened?

I get occasional log lines like this:

1.6824372849188025e+09 info maintenance advancing OCSP staple {"identifiers": ["bigasterisk.com"], "from": 1682737198, "to": 1683039598}

What did you expect to happen?

It's nicer when all log lines are json documents. Then one can pipe to jq for pretty printing, etc.

What's your environment like?

  • Pomerium version (retrieve with pomerium --version):

Logs say this: "pomerium_version": "v0.0.0 linux/amd64 "

K8s deployment says my image is pomerium/ingress-controller:sha-2c8038a

  • Server Operating System/Architecture/Cloud:

ubuntu/22.10 x86_64 selfhosted

What's your config.yaml?

https://bigasterisk.com/code/pomerium/files/9bff6004bd605ee0d835e1b39b7ab00ff3ba6149/20-kube/10-pom-pom.yaml
https://bigasterisk.com/code/pomerium/files/9bff6004bd605ee0d835e1b39b7ab00ff3ba6149/20-kube/20-pom-deploy.yaml

@calebdoxsey
Copy link
Contributor

I believe these log lines are coming from certmagic. We should configure certmagic to use our logger.

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

Successfully merging a pull request may close this issue.

2 participants