Affects Version/s: 1.0
Fix Version/s: 1.0.1
Operating System: All
The Log implementation, SimpleLog, uses getSystemResourceAsStream() to load the
simplelog.properties file. Using getSystemResourceAsStream(), instead of something like
this.getClass().getClassLoader().getResourceAsStream(), or even better,
Thread.currentThread().getContextClassLoader().getResourceAsStream(), prevents the
properties file from being deployed with an application. This forces the developer to put the
properties file on the system classpath.
Why was the decision made to only look on at the
system classloader? The LogFactory does a nice job of finding it's properties with
findClassLoader(). A similar implementation for SimpleLog would be great.