Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve SSH logging #456

Open
Darkren opened this issue Jun 30, 2019 · 0 comments
Open

Improve SSH logging #456

Darkren opened this issue Jun 30, 2019 · 0 comments
Assignees

Comments

@Darkren
Copy link
Collaborator

Darkren commented Jun 30, 2019

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant