Changeset 4a59c19


Ignore:
Timestamp:
Nov 25, 2017 7:53:25 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7a36b07
Parents:
51a6f29
Message:

Console: Show full logger.config path on /configlogging
Don't say 'Plugin downloaded' when installing from file

Location:
apps/routerconsole/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/update/PluginUpdateRunner.java

    r51a6f29 r4a59c19  
    137137        @Override
    138138        public void transferComplete(long alreadyTransferred, long bytesTransferred, long bytesRemaining, String url, String outputFile, boolean notModified) {
    139             updateStatus("<b>" + _t("Plugin downloaded") + "</b>");
     139            if (!(_xpi2pURL.startsWith("file:") || _method == UpdateMethod.FILE))
     140                updateStatus("<b>" + _t("Plugin downloaded") + "</b>");
    140141            File f = new File(_updateFile);
    141142            File appDir = new SecureDirectory(_context.getConfigDir(), PLUGIN_DIR);
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigLoggingHelper.java

    r51a6f29 r4a59c19  
    11package net.i2p.router.web;
    22
     3import java.io.File;
    34import java.util.List;
    45import java.util.Properties;
     
    4344           .append(_t("Add additional logging statements above (e.g. {0}).", "<b>net.i2p.router.tunnel=WARN</b>"))
    4445           .append("<br>")
    45            .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>"))
     46           .append(_t("Alternatively, put entries in the file {0} (e.g. {1}).",
     47                      "<b>" + new File(_context.getConfigDir(), "logger.config") + "</b>",
     48                      "<b>logger.record.net.i2p.router.tunnel=WARN</b>"))
    4649           .append("<br>")
    4750           .append(_t("Valid log levels are {0}.", "<b>DEBUG, INFO, WARN, ERROR, CRIT</b>"))
Note: See TracChangeset for help on using the changeset viewer.