• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Logging Level at runtime in Logback

 
Ashwin Sridhar
Ranch Hand
Posts: 277
Flex Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am using logback for logging in my application. I am looking to change my logging levels during runtime, instead of changing it and starting the servers again. Is there way to change my log levels dynamically ?

Regards,
Ashwin
 
Ashwin Sridhar
Ranch Hand
Posts: 277
Flex Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

The configuration element of the logback.xml file has an attribute scan which could be set to true and this file would be scanned periodically for any changes.

Regards,
Ashwin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic