java - Strategies to change Logback appender level at production -


i package applications jars , wars. after deployment in production, see on logs if ok, , once is, decrease level of these logs @ runtime, without deploying new jar/war again.

what strategies available logback? found put logback configuration outside jar/war, change level anytime without deploying again. problem create new arguments application, avoid this, want keep simple.

is there better way accomplish same?

from experience, there no cleaner way providing external logback.xml.

other options include using jmx adjust logger level or implementing endpoint change logger configuration programmatically.


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -