Changeset 4d1736ea


Ignore:
Timestamp:
Dec 30, 2011 9:58:16 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
327f38b5
Parents:
03e86fcb
Message:

jetty logging tweaks

Location:
apps
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/net/i2p/addressbook/Servlet.java

    r03e86fcb r4d1736ea  
    8585        this.thread.setName("Addressbook");
    8686        this.thread.start();
    87         System.out.println("INFO: Starting Addressbook " + Daemon.VERSION);
     87        //System.out.println("INFO: Starting Addressbook " + Daemon.VERSION);
    8888        //System.out.println("INFO: config root under " + args[0]);
    8989    }
  • apps/jetty/build.xml

    r03e86fcb r4d1736ea  
    140140        <!-- set if unset -->
    141141        <property name="workspace.changes.tr" value="" />
    142         <jar destfile="./jettylib/jetty-i2p.jar" basedir="./build/obj" includes="**/*.class" >
     142        <copy todir="build/obj" file="resources/log4j.properties" />
     143        <jar destfile="./jettylib/jetty-i2p.jar" basedir="./build/obj" includes="**/*.class log4j.properties" >
    143144            <manifest>
    144145                <attribute name="Build-Date" value="${build.timestamp}" />
  • apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java

    r03e86fcb r4d1736ea  
    222222            System.err.println("ERROR: Unable to create Jetty temporary work directory");
    223223       
    224         Log.setLog(new I2PLogger(I2PAppContext.getGlobalContext()));
     224        try {
     225            Log.setLog(new I2PLogger(I2PAppContext.getGlobalContext()));
     226        } catch (Throwable t) {
     227            System.err.println("INFO: I2P Jetty logging class not found, logging to wrapper log");
     228        }
    225229        // so Jetty can find WebAppConfiguration
    226230        System.setProperty("jetty.class.path", I2PAppContext.getGlobalContext().getBaseDir() + "/lib/routerconsole.jar");
Note: See TracChangeset for help on using the changeset viewer.