no more commons-logging
This commit is contained in:
parent
9e840209cf
commit
96c8744044
1 changed files with 0 additions and 3 deletions
|
|
@ -12,7 +12,6 @@ import javax.servlet.http.HttpServlet;
|
|||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.apache.log4j.PropertyConfigurator;
|
||||
import org.forkalsrud.album.db.ThumbnailDatabase;
|
||||
import org.forkalsrud.album.exif.DirectoryEntry;
|
||||
|
|
@ -40,8 +39,6 @@ public class AlbumServlet
|
|||
base = new File(getServletConfig().getInitParameter("base")).getAbsoluteFile();
|
||||
basePrefix = "/" + base.getName();
|
||||
|
||||
LogFactory.getFactory().setAttribute("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.Log4JLogger");
|
||||
|
||||
String dbDirName = getServletConfig().getInitParameter("dbdir");
|
||||
File dbDir = dbDirName != null ? new File(dbDirName) : new File(System.getProperty("java.io.tmpdir"), "album");
|
||||
dbDir.mkdir();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue