mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2131] reduce the log level to info/trace [W] [vhost.go:147] get hostname from http/https request error: readHandshake: there is no extension data to get servername #1694
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1694
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Milokita on GitHub (Dec 4, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2131
The solution you want
the log now is filled with the warning bellow, but it won't affect the program if the https is served under apache/nginx so change it to info/debug would be better
[W] [vhost.go:147] get hostname from http/https request error: readHandshake: there is no extension data to get servernameAlternatives considered
add auto supress function
How to implement this function
change the log level this warning belong to
Application scenarios of this function
prevent log is filled with this warning
@fatedier commented on GitHub (Dec 6, 2020):
@Milokita Can you submit a PR to change the log level to
debug?@Milokita commented on GitHub (Dec 25, 2020):
Pull request submitted