Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change the log level depending upon the environment

 
rambabu desina
Ranch Hand
Posts: 42
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear ranchers,

I am new to Log4J logging frame work.
is there any to automatically changing of the Logger level depending on the environment (i.e., UAT,PRODUCTION e.t.c)

thanks and regards
Ram
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic