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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -