Tuesday, August 10, 2010

controlling logback configuration in standalone app

Application end-users must have the ability to change the logback logging level applied to all of the DK code, without having to explode the application jar.

Logback looks for a config file named logback.xml on the classpath. So first we copy a new logback.xml file into cwd and try setting the classpath on the command line:

java -cp . -jar diffkit-app.jar

No joy.

But this works: 

java -Dlogback.configurationFile=./logback.xml -jar diffkit-app.jar
Simple enough.

Also, logback can find the logback.xml file embedded in the application jar if the System property is defined this way:

java -Dlogback.configurationFile=conf/logback.xml -jar diffkit-app.jar

In this case, logback treats the property value as a classpath resource specification.

134 comments:

  1. There are lots of information about latest technology and how to get trained in them, like Oracle Training in Chennai have spread around the web, but this is a unique one according to me. The strategy you have updated here will make me to get trained in future technologies(Oracle Course in Chennai). By the way you are running a great blog. Thanks for sharing this.

    ReplyDelete
    Replies
    1. Hibernate Online Training Hibernate Online Training Hibernate Training in Chennai Hibernate Training in Chennai Java Online Training Java Online Training

      Hibernate Training Institutes in ChennaiHibernate Training Institutes in Chennai Java Online Training Java Online Training Java Online Training Java Online Training

      Delete
    2. Java Training Institutes Java Training Institutes Java EE Training in Chennai Java EE Training in Chennai Java Spring Hibernate Training Institutes in Chennai J2EE Training Institutes in Chennai J2EE Training Institutes in Chennai Core Java Training Institutes in Chennai Core Java Training Institutes in Chennai

      Delete
    3. Great Article
      Cloud Computing Projects


      Networking Projects

      Final Year Projects for CSE


      JavaScript Training in Chennai

      JavaScript Training in Chennai

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete

    4. Great Article
      Cloud Computing Projects


      Networking Projects

      Final Year Projects for CSE


      JavaScript Training in Chennai

      JavaScript Training in Chennai

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. Your blog is awesome..You have clearly aboutcontrolling logback configuration in standalone app...Its very useful for me to know about new things..Keep on blogging..
    Java training in chennai





    ReplyDelete
  3. Very nice post. Thanks for sharing such a useful post.

    wordpress Training in Chennai

    ReplyDelete
  4. Very nice post. Thanks for sharing such a useful post.
    websphere training in chennai

    ReplyDelete
  5. hi..really you have post an informative blog.it will be really helpful to many peoples.
    apachespark training

    ReplyDelete
  6. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  7. There are so many useful information in your post, I like it all the time. And I want to share this improve app store ranking with you,you can take a look. This is very useful.

    ReplyDelete
  8. Thanks to shared this informative details with us. Keep updating.

    DBA course syllabus | DBA training courses

    ReplyDelete
  9. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    Java Training in Bangalore

    ReplyDelete
  10. Thanks a lot very much for the high your blog post quality and results-oriented help. I won’t think twice to endorse to anybody who wants and needs support about this area.
    java training in chennai

    ReplyDelete
  11. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    google-cloud-platform-training-in-chennai

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. Appreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of.
    amazon-web-services-training-institute-in-chennai

    ReplyDelete
  14. The blog or and best that is extremely useful to keep I can share the ideas of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.

    Digital Marketing Course in Chennai
    Digital Marketing Training in Chennai
    Online Digital Marketing Training
    SEO Training in Chennai
    Digital Marketing Course
    Digital Marketing Training
    Digital Marketing Courses

    ReplyDelete
  15. Wonderful blog & good post.Its really helpful for me, awaiting for more new post. Keep Blogging!
    Web Design Training

    ReplyDelete
  16. It has been just unfathomably liberal with you to give straightforwardly what precisely numerous people would've promoted for an eBook to wind up making some money for their end, basically given that you could have attempted it in the occasion you needed.
    safety courses in chennai

    ReplyDelete
  17. nice blog check out https://www.ayevainstitute.com/

    ReplyDelete
  18. Thanks for sharing this unique information with us. Your post is really awesome. Your blog is really helpful for me..
    Top college in Jaipur|law college|law college in Jaipur|Best law college in Jaipur

    ReplyDelete
  19. Thanks for sharing this unique information with us. Your post is really awesome. Your blog is really helpful for me..
    organic oil
    organic oil in jaipur
    organic cold pressed oils
    ayurvedic oil store in jaipur

    ReplyDelete
  20. I wish to indicate because of you only to bail me out of this specific trouble. As a consequence of checking through the net and meeting systems that were not beneficial, I thought my life was finished.
    nebosh course in chennai

    ReplyDelete
  21. Online casino is a new generation of games for good people. successful roulette casino Knowing what an online casino is, you are already better than others.

    ReplyDelete
  22. Thanks for the great information , i was looking for this information from long.Great blog
    tally course in hyderabad

    ReplyDelete
  23. I read your blog and i found innovative ideas in that.After a long time i had saw such kind of article.Thanks for you and i request
    you to update more in future.
    Loadrunner Training in Chennai
    French Classes in Chennai
    Android Training in Chennai
    Digital Marketing Course in Chennai
    JAVA Training in Chennai
    German Classes in Chennai
    JAVA Training in Adayar

    ReplyDelete
  24. Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Tours and Travels in Madurai | Best Travels in Madurai | Madurai Travels

    ReplyDelete
  25. Где найти профиль для лед ленты люди добрые помогите пожалуйста.

    ReplyDelete
  26. Nice post. Thanks for sharing! I want people to know just how good this information is in your article. It’s interesting content and Great work.
    Thanks & Regards,
    VRIT Professionals,
    No.1 Leading Web Designing Training Institute In Chennai.

    And also those who are looking for
    Web Designing Training Institute in Chennai
    Photoshop Training Institute in Chennai
    PHP & Mysql Training Institute in Chennai
    SEO Training Institute in Chennai
    Android Training Institute in Chennai

    ReplyDelete
  27. It is really a great work and the way in which you are sharing the knowledge is excellent. Thanks for your informative article.
    Artificial training Institution in Chennai | Artificial training in Chennai

    ReplyDelete
  28. Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
    mobile application development training online
    mobile app development course
    mobile application development training
    mobile app development course online
    mobile application development course
    online mobile application development
    learn mobile application development

    ReplyDelete
  29. Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
    Household Goods Shifting
    Home shifting services in chennai
    home shifting services

    office shifting services in chennai
    office shifting services in chennai
    office relocation service in chennai
    office relocation services

    ReplyDelete

  30. thanks for your information really good and very nice web design company in velachery

    ReplyDelete

  31. Aluminium Composite Panel or ACP Sheet is used for building exteriors, interior applications, and signage. They are durable, easy to maintain & cost-effective with different colour variants.

    ReplyDelete
  32. I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
    Google ads services
    Google Ads Management agency

    ReplyDelete
  33. I gathered a lot of information through this article.Every example is easy to undestandable and explaining the logic easily.google cloud platform training in bangalore

    ReplyDelete
  34. Thank you for excellent article.You made an article that is interesting.
    Digital marketing course in Bangalore with Live Projects. 100% placement, 20+ modules, 10+ certifications, Great discounts on course fees.
    https://onlineidealab.com/digital-marketing-courses-in-bangalore/

    ReplyDelete
  35. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts.

    sap hybris training in bangalore

    sap scm training in bangalore

    sap pm training in bangalore

    sap crm training in bangalore

    sap ewm training in bangalore

    ReplyDelete
  36. This comment has been removed by the author.

    ReplyDelete
  37. I have read your blog its very attractive and impressive. Nice information. It helped me alot.
    Government vacancy
    Govt Jobs
    Sarkari nokri
    latest sarkari vacancy
    Online Form
    latest govt jobs

    ReplyDelete
  38. Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us. For more visit here Oracle Procurement Cloud Implementation


    ReplyDelete
  39. Expected to form you a next to no word to thank you once more with respect to the decent recommendations you've contributed here. good luck guys.
    Ai & Artificial Intelligence Course in Chennai
    PHP Training in Chennai
    Ethical Hacking Course in Chennai Blue Prism Training in Chennai
    UiPath Training in Chennai

    ReplyDelete
  40. Your blog is awesome..You have clearly aboutcontrolling logback configuration in standalone app...Its very useful for me to know about new things..Keep on blogging..
    acte velachery reviews complaints

    acte tambaram reviews complaints

    acte anna nagar reviews complaints

    acte porur reviews complaints

    acte omr reviews complaints

    ReplyDelete
  41. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts.
    oracle training in chennai

    oracle training institute in chennai

    oracle training in bangalore

    oracle training in hyderabad

    oracle training

    oracle online training

    hadoop training in chennai

    hadoop training in bangalore

    ReplyDelete
  42. Good Post! , it was so good to read and useful to improve my knowledge as an updated one, keep blogging.After seeing your article I want to say that also a well-written article with some very good information which is very useful for the readers....thanks for sharing it and do share more posts likethis. https://www.3ritechnologies.com/course/tableau-online-training-certification/

    ReplyDelete
  43. Very well written post. Thanks for sharing this, I really appreciate you taking the time to share with everyone. Project Management Certification

    ReplyDelete
  44. This comment has been removed by the author.

    ReplyDelete
  45. We Gill Driving School the best driving school Deer Park Craigieburn & Sunbury. We provides comprehensive professionals. We are very passionate in our work for our unique teaching methods and best leading driving instructors in Deer Park. Our instructors give their best to our students. We love to teaching car driving and road safety to our students. Book your lessons online 24/7 now!

    Thanks & Regards
    driving instructors Deer Park
    driving lessons in Deer Park
    driving test Deer Park
    driving school Deer Park

    ReplyDelete
  46. your blog' s design is simple and clean and i like it. Your blog posts about Online writing Help are superb. Please keep them coming. Greets!

    Data Science Training In Bangalore

    ReplyDelete
  47. Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me.
    AWS Training in Chennai

    ReplyDelete
  48. This article will outline all the different strategies you should be aware of when it comes to soccer.

    Best IAS Coaching in India

    ReplyDelete
  49. This is an informative post, looking for more. Please find local stores on fyndhere ios and andriod app

    ReplyDelete
  50. Informative article with detailed explanation. Thanks for sharing your work . keep up the good work Angular training in Chennai

    ReplyDelete
  51. keep up the good work. This is an Awesome post. this to helpful, I have reading here all post. I am impressed. Thank you.
    Reactjs Training in Chennai |
    Best Reactjs Training Institute in Chennai |
    Reactjs course in Chennai

    ReplyDelete
  52. I’ve recently started a site, the information you offer on this site has helped me greatly. Thanks for all of your time & work.

    Also visit my webpage - 안마
    (jk)


    ReplyDelete
  53. Autonomous Level 1 employee support delivered in seconds is the promise of Rezolve.ai. Leveraging the power of advanced AI, sophisticated process automation, intelligent algorithms and hundreds of prebuilt IT Helpdesk skills – Rezolve.ai platform is redefining and reimagining how employees get serviced.
    AI service desk
    AI service desk Platform

    ReplyDelete

  54. Thanks For Sharing such a wonderful article the way you presented is really amazing
    Best Software Training Institutes

    ReplyDelete
  55. https://salsabeelahmedandco.com/
    Very Informative and useful... Keep it up the great work. I really appreciate your post.

    https://salsabeelahmedandco.com/company-registration-in-bangalore/
    https://salsabeelahmedandco.com/ca-firms-in-bangalore/
    https://salsabeelahmedandco.com/accounting-services-in-bangalore/
    https://salsabeelahmedandco.com/gst-consultants-in-bangalore/
    https://salsabeelahmedandco.com/public-limited-company/
    https://salsabeelahmedandco.com/private-limited-company-in-india/
    https://salsabeelahmedandco.com/one-person-company-in-india/
    https://salsabeelahmedandco.com/partnership-firm-in-bangalore/
    https://salsabeelahmedandco.com/limited-liability-partnership-llp/

    ReplyDelete
  56. I was searching for a nice blog post website and finally found one here. Thanks for sharing your information with us.
    Best Interior Designers

    ReplyDelete
  57. Welcome to Australia’s leading renewable energy information site. Here we provide an opportunity to compare solar quotations coming from top local Compare Solar Quotes service providers near you. We also facilitate the latest information and resources in order to assist you in your purchase of renewable energy and energy-saving technologies.

    ReplyDelete
  58. Ucuz, kaliteli ve organik sosyal medya hizmetleri satın almak için Ravje Medyayı tercih edebilir ve sosyal medya hesaplarını hızla büyütebilirsin. Ravje Medya ile sosyal medya hesaplarını organik ve gerçek kişiler ile geliştirebilir, kişisel ya da ticari hesapların için Ravje Medyayı tercih edebilirsin. Ravje Medya internet sitesine giriş yapmak için hemen tıkla: ravje.com

    İnstagram takipçi satın almak için Ravje Medya hizmetlerini tercih edebilir, güvenilir ve gerçek takipçilere Ravje Medya ile ulaşabilirsin. İnstagram takipçi satın almak artık Ravje Medya ile oldukça güvenilir. Hemen instagram takipçi satın almak için Ravje Medyanın ilgili sayfasını ziyaret et: instagram takipçi satın al

    Tiktok takipçi satın al istiyorsan tercihini Ravje Medya yap! Ravje Medya uzman kadrosu ve profesyonel ekibi ile sizlere Tiktok takipçi satın alma hizmetide sunmaktadır. Tiktok takipçi satın almak için hemen tıkla: tiktok takipçi satın al

    İnstagram beğeni satın almak için Ravje medya instagram beğeni satın al sayfasına giriş yap, hızlı ve kaliteli instagram beğeni satın al: instagram beğeni satın al

    Youtube izlenme satın al sayfası ile hemen youtube izlenme satın al! Ravje medya kalitesi ile hemen youtube izlenme satın almak için tıklayın: youtube izlenme satın al

    Twitter takipçi satın almak istiyorsan Ravje medya twitter takipçi satın al sayfasına tıkla, Ravje medya güvencesi ile organik twitter takipçi satın al: twitter takipçi satın al

    ReplyDelete