ftp: do not log + gzip:`isloaded
This commit is contained in:
parent
99907740ca
commit
28df600466
|
@ -28,11 +28,13 @@ class GzipMediaHandler : MediaHandler
|
|||
|
||||
public override void Render()
|
||||
{
|
||||
newHandler.Render();
|
||||
if(newHandler?.IsLoaded ?? false)
|
||||
newHandler.Render();
|
||||
}
|
||||
|
||||
public override void MenuBar()
|
||||
{
|
||||
newHandler.MenuBar();
|
||||
if(newHandler?.IsLoaded ?? false)
|
||||
newHandler.MenuBar();
|
||||
}
|
||||
}
|
|
@ -40,7 +40,7 @@ class FtpProtoHandler : ProtoHandler
|
|||
conn.Config.ValidateAnyCertificate = true;
|
||||
}
|
||||
|
||||
conn.Config.LogToConsole = true;
|
||||
conn.Config.LogToConsole = false;
|
||||
conn.Config.LogHost = true;
|
||||
conn.Config.LogUserName = true;
|
||||
conn.Config.LogPassword = true;
|
||||
|
|
Loading…
Reference in New Issue