Skip to content

Commit

Permalink
Add seq logging
Browse files Browse the repository at this point in the history
  • Loading branch information
SapiensAnatis committed Jan 21, 2023
1 parent 8ef1105 commit ad6052d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/dragalia-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for the Dragalia Lost server emulator

type: application

version: 1.1.6
version: 1.1.7
appVersion: "1.1.0-alpha"

dependencies:
Expand Down
10 changes: 10 additions & 0 deletions charts/dragalia-api/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ data:
"retainedFileCountLimit": {{ .Values.aspnet.logs.retainedFileCount }}
}
}
{{- if .Values.seq.enabled }},
{
"Name": "Seq",
"Args": {
"serverUrl": "{{ .Values.seq.hostname }}"
"apiKey": "{{ .Values.seq.apiKey }}",
"restrictedToMinimumLevel": "Verbose"
}
}
{{- end }}
]
},
"AllowedHosts": "*",
Expand Down
7 changes: 7 additions & 0 deletions charts/dragalia-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ aspnet:
# Mode to send to Dragalipatch
mode: "RAW"

seq:
# Enable logging to Seq
enabled: true
# Seq hostname
hostname: changeme
# Seq API key
apiKey: changeme

# Ingress settings. Customize as appropriate to your domain and TLS setup
ingress:
Expand Down

0 comments on commit ad6052d

Please sign in to comment.