Changeset 01bed932


Ignore:
Timestamp:
Sep 1, 2009 2:47:16 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7745bd8
Parents:
2e2bff3
Message:
  • Logging: Fix directory for rotated log
File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/LogWriter.java

    r2e2bff3 r01bed932  
    197197        if (_rotationNum > max) _rotationNum = 0;
    198198
    199         return new File(replace(pattern, _rotationNum));
     199        String newf = replace(pattern, _rotationNum);
     200        if (base != null)
     201            return new File(base, newf);
     202        return new File(newf);
    200203    }
    201204
Note: See TracChangeset for help on using the changeset viewer.