forked from I2P_Developers/i2p.i2p
Console: Show full logger.config path on /configlogging
Don't say 'Plugin downloaded' when installing from file
This commit is contained in:
@ -136,7 +136,8 @@ class PluginUpdateRunner extends UpdateRunner {
|
||||
|
||||
@Override
|
||||
public void transferComplete(long alreadyTransferred, long bytesTransferred, long bytesRemaining, String url, String outputFile, boolean notModified) {
|
||||
updateStatus("<b>" + _t("Plugin downloaded") + "</b>");
|
||||
if (!(_xpi2pURL.startsWith("file:") || _method == UpdateMethod.FILE))
|
||||
updateStatus("<b>" + _t("Plugin downloaded") + "</b>");
|
||||
File f = new File(_updateFile);
|
||||
File appDir = new SecureDirectory(_context.getConfigDir(), PLUGIN_DIR);
|
||||
if ((!appDir.exists()) && (!appDir.mkdir())) {
|
||||
|
@ -1,5 +1,6 @@
|
||||
package net.i2p.router.web;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
import java.util.Set;
|
||||
@ -42,7 +43,9 @@ public class ConfigLoggingHelper extends HelperBase {
|
||||
buf.append("<p>")
|
||||
.append(_t("Add additional logging statements above (e.g. {0}).", "<b>net.i2p.router.tunnel=WARN</b>"))
|
||||
.append("<br>")
|
||||
.append(_t("Alternatively, put entries in the file {0} (e.g. {1}).", "<b>logger.config</b>", "<b>logger.record.net.i2p.router.tunnel=WARN</b>"))
|
||||
.append(_t("Alternatively, put entries in the file {0} (e.g. {1}).",
|
||||
"<b>" + new File(_context.getConfigDir(), "logger.config") + "</b>",
|
||||
"<b>logger.record.net.i2p.router.tunnel=WARN</b>"))
|
||||
.append("<br>")
|
||||
.append(_t("Valid log levels are {0}.", "<b>DEBUG, INFO, WARN, ERROR, CRIT</b>"))
|
||||
.append("</p>\n");
|
||||
|
Reference in New Issue
Block a user