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++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -