skywire-testnet icon indicating copy to clipboard operation
skywire-testnet copied to clipboard

Improve SSH logging

Open Darkren opened this issue 6 years ago • 0 comments

Notices this piece of code in therealssh:

func debug(format string, v ...interface{}) {
	if !Debug {
		return
	}

	log.Printf(format, v...)
}

And it's actually being heavily used. I suggest that we improve logging here and switch to more common solutions which support log levels like it's done in the other parts (i.e. DMSG)

Darkren avatar Jun 30 '19 14:06 Darkren