mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-06-09 21:26:52 +00:00
apcssh: remove logging
For sanity and consistency, centralize logging in the app with the app's loggers.
This commit is contained in:
parent
ce9958e422
commit
12c613f3b4
2 changed files with 6 additions and 7 deletions
pkg/app
|
@ -51,6 +51,11 @@ func (app *app) cmdInstall(cmdCtx context.Context, args []string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
// log warning if insecure cipher
|
||||
if app.config.install.insecureCipher != nil && *app.config.install.insecureCipher {
|
||||
app.stdLogger.Println("WARNING: install: insecure ciphers are enabled (--insecurecipher). SSH with an insecure cipher is NOT secure and should NOT be used.")
|
||||
}
|
||||
|
||||
// make APC SSH client
|
||||
cfg := &apcssh.Config{
|
||||
Hostname: *app.config.install.hostAndPort,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue