use go-logging; clean up vars