Changeset a79b25d


Ignore:
Timestamp:
Feb 25, 2016 2:18:26 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
248deae
Parents:
d9a7dc0
Message:

Router: Log full path to wrapper.log when dumping threads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/tasks/ThreadDump.java

    rd9a7dc0 ra79b25d  
    3737        if (success) {
    3838            Log log = context.logManager().getLog(ThreadDump.class);
    39             log.log(Log.CRIT, "Threads dumped to wrapper log");
     39            File f = new File(context.getConfigDir(), "wrapper.log");
     40            String loc = f.exists() ? f.getAbsolutePath() : "wrapper.log";
     41            log.log(Log.CRIT, "Threads dumped to " + loc);
    4042        }
    4143        return success;
Note: See TracChangeset for help on using the changeset viewer.