forked from I2P_Developers/i2p.i2p
logs.jsp tweak
This commit is contained in:
@ -10,7 +10,7 @@ public class LogsHelper extends HelperBase {
|
|||||||
|
|
||||||
public String getLogs() {
|
public String getLogs() {
|
||||||
String str = formatMessages(_context.logManager().getBuffer().getMostRecentMessages());
|
String str = formatMessages(_context.logManager().getBuffer().getMostRecentMessages());
|
||||||
return "Location: <b><code>" + _context.logManager().currentFile() + "</code></b><br><br>" + str;
|
return _("File location") + ": <b><code>" + _context.logManager().currentFile() + "</code></b><br><br>" + str;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCriticalLogs() {
|
public String getCriticalLogs() {
|
||||||
@ -34,7 +34,7 @@ public class LogsHelper extends HelperBase {
|
|||||||
return "";
|
return "";
|
||||||
else {
|
else {
|
||||||
str = str.replaceAll("<", "<").replaceAll(">", ">");
|
str = str.replaceAll("<", "<").replaceAll(">", ">");
|
||||||
return _("File location") + ":<b><code> " + f.getAbsolutePath() + "</code></b> <pre>" + str + "</pre>";
|
return _("File location") + ": <b><code>" + f.getAbsolutePath() + "</code></b> <pre>" + str + "</pre>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user