Changeset beb6d1f4 for apps/jetty


Ignore:
Timestamp:
Dec 31, 2011 12:49:39 AM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b5f97d0
Parents:
c0662bc
Message:

I2PLogger fix; better log init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/java/src/net/i2p/jetty/I2PLogger.java

    rc0662bc rbeb6d1f4  
    3333   
    3434    StringBuilder _buffer = new StringBuilder();
     35   
     36    public I2PLogger()
     37    {
     38        this(I2PAppContext.getGlobalContext());
     39    }
    3540   
    3641    public I2PLogger(I2PAppContext ctx)
     
    106111    private void format(String msg, Object arg0, Object arg1)
    107112    {
     113        _buffer.setLength(0);
    108114        int i0=msg==null?-1:msg.indexOf("{}");
    109115        int i1=i0<0?-1:msg.indexOf("{}",i0+2);
Note: See TracChangeset for help on using the changeset viewer.