Console: /configlogging fixes

Add UI for enabling log compression (requires routerconsole.advanced)
Don't save and display override changed message unless overrides changed
Only call ctx.logManager() once in helper/handler
This commit is contained in:
zzz
2022-11-23 09:32:08 -05:00
parent fb14907fa8
commit 5d259efdd8
4 changed files with 73 additions and 27 deletions
+9 -2
View File
@@ -696,12 +696,19 @@ public class LogManager implements Flushable {
}
/**
* @since 0.9.56
* @since 0.9.56, public since 0.9.57, was pkg private
*/
boolean shouldGzip() {
public boolean shouldGzip() {
return _gzip;
}
/**
* @since 0.9.57
*/
public void setGzip(boolean yes) {
_gzip = yes;
}
/**
* @since 0.9.56
*/