Changes in / [162c5bc:2c0e6a3]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/WebAppStarter.java

    r162c5bc r2c0e6a3  
    1111import net.i2p.I2PAppContext;
    1212import net.i2p.util.FileUtil;
     13import net.i2p.util.Log;
    1314import net.i2p.util.SecureDirectory;
    1415
     
    3738
    3839    static final Map<String, Long> warModTimes = new ConcurrentHashMap();
     40    static private Log _log;
     41
     42    static {
     43        _log = ContextHelper.getContext(null).logManager().getLog(WebAppStarter.class); ;
     44    }
     45
    3946
    4047    /**
     
    4451    static void startWebApp(I2PAppContext ctx, Server server, String appName, String warPath) throws Exception {
    4552         File tmpdir = new SecureDirectory(ctx.getTempDir(), "jetty-work-" + appName + ctx.random().nextInt());
    46          WebApplicationContext wac = addWebApp(ctx, server, appName, warPath, tmpdir);
     53         WebApplicationContext wac = addWebApp(ctx, server, appName, warPath, tmpdir);     
     54                 _log.debug("Loading war from: " + warPath);
    4755         wac.start();
    4856    }
     
    8997        // this does the passwords...
    9098        RouterConsoleRunner.initialize(wac);
     99
     100
    91101
    92102        // see WebAppConfiguration for info
Note: See TracChangeset for help on using the changeset viewer.