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

chore: add verbose logs for certs found #27

Closed

Conversation

wbollock
Copy link
Collaborator

example output

vault-pki-exporter-1  | time="2024-11-13T19:19:01Z" level=info msg="processing batch of certs in loadCerts" batchsize=1
vault-pki-exporter-1  | time="2024-11-13T19:19:01Z" level=info msg="cert found" common_name=my-website.com country="[]" locality="[]" not_after="2025-11-13 19:17:11 +0000 UTC" not_before="2024-11-13 19:16:41 +0000 UTC" organization="[]" organizational_unit="[]" province="[]" serial_number=173416855333172776412784710165212082532478286322
vault-pki-exporter-1  | time="2024-11-13T19:19:01Z" level=info msg="cert found" common_name=www.my-website.com country="[]" locality="[]" not_after="2024-11-16 19:17:12 +0000 UTC" not_before="2024-11-13 19:16:42 +0000 UTC" organization="[]" organizational_unit="[]" province="[]" serial_number=529726630108698805212027385972163988162531905986
vault-pki-exporter-1  | time="2024-11-13T19:19:01Z" level=info msg="cert found" common_name=www.revokme.my-website.com country="[]" locality="[]" not_after="2024-11-16 19:17:12 +0000 UTC" not_before="2024-11-13 19:16:42 +0000 UTC" organization="[]" organizational_unit="[]" province="[]" serial_number=575798736834614521163199043618936418300586073698

example output

```
vault-pki-exporter-1  | time="2024-11-13T19:19:01Z" level=info msg="processing batch of certs in loadCerts" batchsize=1
vault-pki-exporter-1  | time="2024-11-13T19:19:01Z" level=info msg="cert found" common_name=my-website.com country="[]" locality="[]" not_after="2025-11-13 19:17:11 +0000 UTC" not_before="2024-11-13 19:16:41 +0000 UTC" organization="[]" organizational_unit="[]" province="[]" serial_number=173416855333172776412784710165212082532478286322
vault-pki-exporter-1  | time="2024-11-13T19:19:01Z" level=info msg="cert found" common_name=www.my-website.com country="[]" locality="[]" not_after="2024-11-16 19:17:12 +0000 UTC" not_before="2024-11-13 19:16:42 +0000 UTC" organization="[]" organizational_unit="[]" province="[]" serial_number=529726630108698805212027385972163988162531905986
vault-pki-exporter-1  | time="2024-11-13T19:19:01Z" level=info msg="cert found" common_name=www.revokme.my-website.com country="[]" locality="[]" not_after="2024-11-16 19:17:12 +0000 UTC" not_before="2024-11-13 19:16:42 +0000 UTC" organization="[]" organizational_unit="[]" province="[]" serial_number=575798736834614521163199043618936418300586073698
```
@wbollock
Copy link
Collaborator Author

shoot sorry meant to open on my personal org :(

@wbollock wbollock closed this Nov 13, 2024
@aarnaud
Copy link
Owner

aarnaud commented Nov 13, 2024

That remember me that I have to review the PR

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 this pull request may close these issues.

2 participants