mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2025-03-02 13:47:11 +00:00
feat(livekit): add option for log level and log sampling
This commit is contained in:
parent
e246d3dfde
commit
52ac53620a
2 changed files with 13 additions and 0 deletions
|
@ -98,6 +98,14 @@ livekit_redis_port: 6379
|
|||
livekit_jwt_service_external_port: 8888
|
||||
```
|
||||
|
||||
The defaults are also used set the log level and manage log sampling (these can
|
||||
be overwritten using the group_vars or on a per-host basis):
|
||||
|
||||
```yaml
|
||||
livekit_log_level: "info" # can be debug, info, warn or error
|
||||
livekit_log_sample: true # 'true' avoids duplicate log entries and improves performance: https://github.com/uber-go/zap/blob/master/FAQ.md#why-sample-application-logs
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
- famedly.base.redis
|
||||
|
|
|
@ -3,6 +3,8 @@ livekit_version: "v1.7"
|
|||
livekit_jwt_service_version: "sha-4a29504"
|
||||
livekit_domain: "{{ famedly_instance_domain }}"
|
||||
livekit_turnserver_domain: ~
|
||||
livekit_log_level: "info"
|
||||
livekit_log_sample: true
|
||||
livekit_redis_enabled: false
|
||||
livekit_ws_port: 7880
|
||||
livekit_rtc_port: 7881
|
||||
|
@ -20,6 +22,9 @@ livekit_container_config: "/etc/livekit.yaml"
|
|||
livekit_container_command: "--config {{ livekit_container_config }}"
|
||||
livekit_config_basic:
|
||||
port: "{{ livekit_ws_port }}"
|
||||
logging:
|
||||
level: "{{ livekit_log_level }}"
|
||||
sample: "{{ livekit_log_sample }}"
|
||||
bind_addresses:
|
||||
- "127.0.0.1"
|
||||
room:
|
||||
|
|
Loading…
Add table
Reference in a new issue