headscale icon indicating copy to clipboard operation
headscale copied to clipboard

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

Open akelge opened this issue 4 months ago • 1 comments

Is this a support request?

  • [X] This is not a support request

Is there an existing issue for this?

  • [X] 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
  • [X] Headscale runs in a container

Anything else?

No response

akelge avatar Oct 07 '24 09:10 akelge