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

[Bug] no logging in JSON format, even when setting it in configuration #2175

Open
3 of 4 tasks
akelge opened this issue Oct 7, 2024 · 1 comment
Open
3 of 4 tasks
Labels
bug Something isn't working

Comments

@akelge
Copy link

akelge commented Oct 7, 2024

Is this a support request?

  • This is not a support request

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I run headscale with the following config snippet:

log:
  format: json
  level: info

but logs are in text format

Expected Behavior

I expect to see logs in JSON format

Steps To Reproduce

Run headscale with log.format: json set in the configuration

Environment

- OS: not relevant
- Headscale version: 0.23.0
- Tailscale version: not relevant

Runtime environment

  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

Anything else?

No response

@akelge akelge added the bug Something isn't working label Oct 7, 2024
@akelge
Copy link
Author

akelge commented Oct 7, 2024

I have checked and it appears this has been broken in 0.23.0-beta 4, beta3 still logs in json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant