Skip to content

Commit

Permalink
treewide: minor log output changes
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Ott <[email protected]>
  • Loading branch information
smo4201 committed Jun 28, 2024
1 parent fcbf6fa commit 1b0ec8f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion cmc/sgx.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ package cmc
import "github.com/Fraunhofer-AISEC/cmc/sgxdriver"

func init() {
log.Info("Adding SGX driver to supported drivers")
drivers["sgx"] = &sgxdriver.Sgx{}
}
1 change: 0 additions & 1 deletion cmc/snp.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ package cmc
import "github.com/Fraunhofer-AISEC/cmc/snpdriver"

func init() {
log.Info("Adding SNP driver to supported drivers")
drivers["snp"] = &snpdriver.Snp{}
}
1 change: 0 additions & 1 deletion cmc/sw.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ package cmc
import "github.com/Fraunhofer-AISEC/cmc/swdriver"

func init() {
log.Info("Adding SW driver to supported drivers")
drivers["sw"] = &swdriver.Sw{}
}
1 change: 0 additions & 1 deletion cmc/tpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ package cmc
import "github.com/Fraunhofer-AISEC/cmc/tpmdriver"

func init() {
log.Info("Adding TPM driver to supported drivers")
drivers["tpm"] = &tpmdriver.Tpm{}
}
3 changes: 2 additions & 1 deletion testtool/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ func handleConnection(conn net.Conn) {

msg, err := r.ReadString('\n')
if err != nil {
log.Errorf("Failed to read: %v", err)
log.Warnf("Failed to read: %v", err)
return
}
log.Infof("Received from peer: %v", msg)

Expand Down

0 comments on commit 1b0ec8f

Please sign in to comment.