I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit a79b25d7 authored by zzz's avatar zzz
Browse files

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

parent d9a7dc02
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,9 @@ abstract class ThreadDump { ...@@ -36,7 +36,9 @@ abstract class ThreadDump {
success = true; success = true;
if (success) { if (success) {
Log log = context.logManager().getLog(ThreadDump.class); Log log = context.logManager().getLog(ThreadDump.class);
log.log(Log.CRIT, "Threads dumped to wrapper log"); File f = new File(context.getConfigDir(), "wrapper.log");
String loc = f.exists() ? f.getAbsolutePath() : "wrapper.log";
log.log(Log.CRIT, "Threads dumped to " + loc);
} }
return success; return success;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment