Skip to content

Commit

Permalink
Log debug default to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
jkaflik committed Aug 30, 2024
1 parent 25b8902 commit afe3e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func dial(ctx context.Context, addr string, num int, opt *Options) (*connect, er
)
}
} else {
debugf = log.New(os.Stdout, fmt.Sprintf("[clickhouse][conn=%d][%s]", num, conn.RemoteAddr()), 0).Printf
debugf = log.New(os.Stderr, fmt.Sprintf("[clickhouse][conn=%d][%s]", num, conn.RemoteAddr()), 0).Printf
}
}
compression := CompressionNone
Expand Down

0 comments on commit afe3e51

Please sign in to comment.