Skip to content

bug: audit logs do not work when Postgres TZ is not UTC #6040

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

Closed
sharkymark opened this issue Feb 5, 2023 · 2 comments · Fixed by #6067
Closed

bug: audit logs do not work when Postgres TZ is not UTC #6040

sharkymark opened this issue Feb 5, 2023 · 2 comments · Fixed by #6067
Assignees

Comments

@sharkymark
Copy link
Contributor

Version: v0.16.0+b9b402c

I have an enterprise key in a local control plane deployment with tunnel.

--audit-logging is not needed since it defaults to true when I do coder server

I have also stopped and started the server just in case that would help

The audit tab appears in the UI but logs are never captured.

screenshot of empty audit logs
image

screenshot of running workspace (that should have been logged)
image

screenshot of license file showing all features enabled
license-all-paid-features

@matifali
Copy link
Member

matifali commented Feb 6, 2023

For me, it does not work even without using the tunnel. @Kira-Pilot is looking into this.
I tried using the API, but still, there are no logs.

@Kira-Pilot Kira-Pilot assigned Kira-Pilot and coadler and unassigned Kira-Pilot Feb 6, 2023
@coadler coadler changed the title bug: audit logs do not work in a local deployment with tunnel bug: audit logs do not work when Postgres TZ is not UTC Feb 6, 2023
@matifali
Copy link
Member

matifali commented Feb 8, 2023

After updating to 0.17.0 the missing audit logs issue is fixed for me. Thanks @Kira-Pilot

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.

4 participants