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

Skip to content
Snippets Groups Projects
Unverified Commit 8d132a0b authored by zzz's avatar zzz
Browse files

Console: Make the /configlogging overrides box bigger if necessary (advanced only)

parent bbbc1271
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,8 @@ public class ConfigLoggingHelper extends HelperBase {
for (String prefix : limits.stringPropertyNames()) {
sortedLogs.add(prefix);
}
buf.append("<textarea name=\"levels\" rows=\"4\" cols=\"60\" wrap=\"off\" spellcheck=\"false\">");
long sz = isAdvanced() ? Math.max(2, sortedLogs.size() + 1) : 4;
buf.append("<textarea name=\"levels\" rows=\"").append(sz).append("\" cols=\"60\" wrap=\"off\" spellcheck=\"false\">");
for (String prefix : sortedLogs) {
String level = limits.getProperty(prefix);
buf.append(prefix).append('=').append(level).append('\n');
......
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