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()
|
public override void Render()
|
||||||
{
|
{
|
||||||
|
if(newHandler?.IsLoaded ?? false)
|
||||||
newHandler.Render();
|
newHandler.Render();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void MenuBar()
|
public override void MenuBar()
|
||||||
{
|
{
|
||||||
|
if(newHandler?.IsLoaded ?? false)
|
||||||
newHandler.MenuBar();
|
newHandler.MenuBar();
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -40,7 +40,7 @@ class FtpProtoHandler : ProtoHandler
|
||||||
conn.Config.ValidateAnyCertificate = true;
|
conn.Config.ValidateAnyCertificate = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
conn.Config.LogToConsole = true;
|
conn.Config.LogToConsole = false;
|
||||||
conn.Config.LogHost = true;
|
conn.Config.LogHost = true;
|
||||||
conn.Config.LogUserName = true;
|
conn.Config.LogUserName = true;
|
||||||
conn.Config.LogPassword = true;
|
conn.Config.LogPassword = true;
|
||||||
|
|
Loading…
Reference in New Issue