From 6b0e63c1a86946de23f549e7d80ea933a4a105f8 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 21 Jun 2021 11:32:04 +0200 Subject: Improve startup debug output The startup debug output was very verbose but still missing some effective crypto settings. --- main.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index edd61ff..9bd0c78 100644 --- a/main.go +++ b/main.go @@ -176,6 +176,7 @@ func main() { if args.debug { tlog.Debug.Enabled = true } + tlog.Debug.Printf("cli args: %q", os.Args) // "-v" if args.version { tlog.Debug.Printf("openssl=%v\n", args.openssl) @@ -282,12 +283,6 @@ func main() { if args.cpuprofile != "" || args.memprofile != "" || args.trace != "" { tlog.Info.Printf("Note: You must unmount gracefully, otherwise the profile file(s) will stay empty!\n") } - // "-openssl" - if !args.openssl { - tlog.Debug.Printf("OpenSSL disabled, using Go GCM") - } else { - tlog.Debug.Printf("OpenSSL enabled") - } // Operation flags nOps := countOpFlags(&args) if nOps == 0 { -- cgit v1.2.3