logtail: remove this debugging printf

Signed-off-by: Christine Dodrill <xe@tailscale.com>
This commit is contained in:
Christine Dodrill 2021-02-03 12:26:23 -05:00
parent 305ae4d8ad
commit 8ec50db8ef

View File

@ -12,7 +12,6 @@ import (
"fmt" "fmt"
"io" "io"
"io/ioutil" "io/ioutil"
"log"
"net/http" "net/http"
"os" "os"
"strconv" "strconv"
@ -52,7 +51,6 @@ type Config struct {
func NewLogger(cfg Config, logf tslogger.Logf) *Logger { func NewLogger(cfg Config, logf tslogger.Logf) *Logger {
if cfg.BaseURL == "" { if cfg.BaseURL == "" {
cfg.BaseURL = "https://" + DefaultHost cfg.BaseURL = "https://" + DefaultHost
log.Println("XXX(Xe): set default host")
} }
if cfg.HTTPC == nil { if cfg.HTTPC == nil {
cfg.HTTPC = http.DefaultClient cfg.HTTPC = http.DefaultClient