• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 1 and Log4J

 
Fred Artes
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm using log4j for debugging in my struts 1 application



This is correct or I must define logger as static ?
Thanks
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not aware of any requirement to make a logger instance static. I do so, but it is out of habit as opposed to any requirement.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic