Skip to content

set log level via configmap #34364

Closed Answered by bulldog98
bulldog98 asked this question in Q&A
Jun 28, 2023 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Ah so I would have to do something like this?

apiVersion: v1
kind: ConfigMap
metadata:
  name: some-cm
data:
  application.properties: |
     quarkus.log.category."com.ascm.SomeLogger".level=ERROR

and in the applications.properties in the container, I'd have:

# somewere namespace is also set
quarkus.kubernetes-config.enabled=true
quarkus.kubernetes-config.secrets.enabled=true
quarkus.kubernetes-config.config-maps=some-cm
quarkus.kubernetes-config.secrets=some-cm

Since atm I have the properties I want to set flat in the configmap

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@bulldog98
Comment options

@bulldog98
Comment options

@geoand
Comment options

geoand Jun 28, 2023
Collaborator

@bulldog98
Comment options

Answer selected by bulldog98
@geoand
Comment options

geoand Jun 28, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants