Static Logger references

2013-05-08 Thread Martynas Jusevičius
Hey, Jena uses a pattern to define static Logger objects that I have adopted: private static Logger log = LoggerFactory.getLogger(FileManager.class) ; However some online material indicates this pattern as a possible source of memory leaks, especially when the application is deployed in a

Re: Static Logger references

2013-05-08 Thread Rob Vesse
From the second link: In this case, when a class holding a static reference to a Log instance is deployed at the application level (eg at the webapp level in a servlet or j2ee container) there is also no problem; if multiple applications deploy the class in question then they each have their own