This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 1 and Log4J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1 and Log4J" Watch "Struts 1 and Log4J" New topic
Author

Struts 1 and Log4J

Fred Artes
Ranch Hand

Joined: Nov 14, 2008
Posts: 43
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

Joined: Oct 29, 2001
Posts: 9138
    
    9

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.


[How To Ask Questions On JavaRanch]
 
Have you checked out Aspose?
 
subject: Struts 1 and Log4J
 
It's not a secret anymore!