1
0
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:
Darien Raymond 2016-12-01 00:40:20 +01:00
parent eb877fa808
commit f69f551c99
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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