mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 14:06:58 -05:00
reduce vmess log
This commit is contained in:
parent
eb877fa808
commit
f69f551c99
@ -46,7 +46,7 @@ func (v *ServerSession) DecodeRequestHeader(reader io.Reader) (*protocol.Request
|
||||
|
||||
_, err := io.ReadFull(reader, buffer[:protocol.IDBytesLen])
|
||||
if err != nil {
|
||||
log.Info("Raw: Failed to read request header: ", err)
|
||||
log.Info("VMess|Server: Failed to read request header: ", err)
|
||||
return nil, io.EOF
|
||||
}
|
||||
|
||||
|
@ -156,7 +156,7 @@ func (v *VMessInboundHandler) HandleConnection(connection internet.Connection) {
|
||||
if err != nil {
|
||||
if err != io.EOF {
|
||||
log.Access(connection.RemoteAddr(), "", log.AccessRejected, err)
|
||||
log.Warning("VMessIn: Invalid request from ", connection.RemoteAddr(), ": ", err)
|
||||
log.Info("VMessIn: Invalid request from ", connection.RemoteAddr(), ": ", err)
|
||||
}
|
||||
connection.SetReusable(false)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user